[Pkg-owncloud-commits] [owncloud] 33/95: fixing unit tests in UsersControllerTest
David Prévot
taffit at moszumanska.debian.org
Wed Mar 11 15:49:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.0.1
in repository owncloud.
commit 033873c6ccf438be8bf8adeb54348a97a105caa5
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date: Mon Feb 16 19:45:09 2015 +0100
fixing unit tests in UsersControllerTest
---
tests/settings/controller/userscontrollertest.php | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/tests/settings/controller/userscontrollertest.php b/tests/settings/controller/userscontrollertest.php
index 53a42de..b813da0 100644
--- a/tests/settings/controller/userscontrollertest.php
+++ b/tests/settings/controller/userscontrollertest.php
@@ -162,7 +162,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => array(),
'quota' => 1024,
'storageLocation' => '/home/foo',
- 'lastLogin' => 500,
+ 'lastLogin' => 500000,
'backend' => 'OC_User_Database',
'email' => 'foo at bar.com',
'isRestoreDisabled' => false,
@@ -174,7 +174,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => array(),
'quota' => 404,
'storageLocation' => '/home/admin',
- 'lastLogin' => 12,
+ 'lastLogin' => 12000,
'backend' => 'OC_User_Dummy',
'email' => 'admin at bar.com',
'isRestoreDisabled' => false,
@@ -186,7 +186,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => array(),
'quota' => 2323,
'storageLocation' => '/home/bar',
- 'lastLogin' => 3999,
+ 'lastLogin' => 3999000,
'backend' => 'OC_User_Dummy',
'email' => 'bar at dummy.com',
'isRestoreDisabled' => false,
@@ -330,7 +330,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => [],
'quota' => 1024,
'storageLocation' => '/home/foo',
- 'lastLogin' => 500,
+ 'lastLogin' => 500000,
'backend' => 'OC_User_Database',
'email' => 'foo at bar.com',
'isRestoreDisabled' => false,
@@ -342,7 +342,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => [],
'quota' => 404,
'storageLocation' => '/home/admin',
- 'lastLogin' => 12,
+ 'lastLogin' => 12000,
'backend' => 'OC_User_Dummy',
'email' => 'admin at bar.com',
'isRestoreDisabled' => false,
@@ -354,7 +354,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => [],
'quota' => 2323,
'storageLocation' => '/home/bar',
- 'lastLogin' => 3999,
+ 'lastLogin' => 3999000,
'backend' => 'OC_User_Dummy',
'email' => 'bar at dummy.com',
'isRestoreDisabled' => false,
@@ -461,7 +461,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => array(),
'quota' => 1024,
'storageLocation' => '/home/foo',
- 'lastLogin' => 500,
+ 'lastLogin' => 500000,
'backend' => 'OC_User_Database',
'email' => 'foo at bar.com',
'isRestoreDisabled' => false,
@@ -473,7 +473,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => array(),
'quota' => 404,
'storageLocation' => '/home/admin',
- 'lastLogin' => 12,
+ 'lastLogin' => 12000,
'backend' => 'OC_User_Dummy',
'email' => 'admin at bar.com',
'isRestoreDisabled' => false,
@@ -485,7 +485,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => array(),
'quota' => 2323,
'storageLocation' => '/home/bar',
- 'lastLogin' => 3999,
+ 'lastLogin' => 3999000,
'backend' => 'OC_User_Dummy',
'email' => 'bar at dummy.com',
'isRestoreDisabled' => false,
@@ -545,7 +545,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => array(),
'quota' => null,
'storageLocation' => '/home/foo',
- 'lastLogin' => 500,
+ 'lastLogin' => 500000,
'backend' => 'OC_User_Database',
'email' => null,
'isRestoreDisabled' => false,
@@ -1239,7 +1239,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin' => array(),
'quota' => null,
'storageLocation' => $home,
- 'lastLogin' => $lastLogin,
+ 'lastLogin' => $lastLogin * 1000,
'backend' => $backend,
'email' => null,
'isRestoreDisabled' => false,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list