Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
4910f3e2
Commit
4910f3e2
authored
Feb 16, 2015
by
Thomas Müller
Browse files
fixing unit tests in UsersControllerTest
parent
3c75a440
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/settings/controller/userscontrollertest.php
View file @
4910f3e2
...
...
@@ -162,7 +162,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin'
=>
array
(),
'quota'
=>
1024
,
'storageLocation'
=>
'/home/foo'
,
'lastLogin'
=>
500
,
'lastLogin'
=>
500
000
,
'backend'
=>
'OC_User_Database'
,
'email'
=>
'foo@bar.com'
,
'isRestoreDisabled'
=>
false
,
...
...
@@ -174,7 +174,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin'
=>
array
(),
'quota'
=>
404
,
'storageLocation'
=>
'/home/admin'
,
'lastLogin'
=>
12
,
'lastLogin'
=>
12
000
,
'backend'
=>
'OC_User_Dummy'
,
'email'
=>
'admin@bar.com'
,
'isRestoreDisabled'
=>
false
,
...
...
@@ -186,7 +186,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin'
=>
array
(),
'quota'
=>
2323
,
'storageLocation'
=>
'/home/bar'
,
'lastLogin'
=>
3999
,
'lastLogin'
=>
3999
000
,
'backend'
=>
'OC_User_Dummy'
,
'email'
=>
'bar@dummy.com'
,
'isRestoreDisabled'
=>
false
,
...
...
@@ -330,7 +330,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin'
=>
[],
'quota'
=>
1024
,
'storageLocation'
=>
'/home/foo'
,
'lastLogin'
=>
500
,
'lastLogin'
=>
500
000
,
'backend'
=>
'OC_User_Database'
,
'email'
=>
'foo@bar.com'
,
'isRestoreDisabled'
=>
false
,
...
...
@@ -342,7 +342,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin'
=>
[],
'quota'
=>
404
,
'storageLocation'
=>
'/home/admin'
,
'lastLogin'
=>
12
,
'lastLogin'
=>
12
000
,
'backend'
=>
'OC_User_Dummy'
,
'email'
=>
'admin@bar.com'
,
'isRestoreDisabled'
=>
false
,
...
...
@@ -354,7 +354,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin'
=>
[],
'quota'
=>
2323
,
'storageLocation'
=>
'/home/bar'
,
'lastLogin'
=>
3999
,
'lastLogin'
=>
3999
000
,
'backend'
=>
'OC_User_Dummy'
,
'email'
=>
'bar@dummy.com'
,
'isRestoreDisabled'
=>
false
,
...
...
@@ -461,7 +461,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin'
=>
array
(),
'quota'
=>
1024
,
'storageLocation'
=>
'/home/foo'
,
'lastLogin'
=>
500
,
'lastLogin'
=>
500
000
,
'backend'
=>
'OC_User_Database'
,
'email'
=>
'foo@bar.com'
,
'isRestoreDisabled'
=>
false
,
...
...
@@ -473,7 +473,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin'
=>
array
(),
'quota'
=>
404
,
'storageLocation'
=>
'/home/admin'
,
'lastLogin'
=>
12
,
'lastLogin'
=>
12
000
,
'backend'
=>
'OC_User_Dummy'
,
'email'
=>
'admin@bar.com'
,
'isRestoreDisabled'
=>
false
,
...
...
@@ -485,7 +485,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin'
=>
array
(),
'quota'
=>
2323
,
'storageLocation'
=>
'/home/bar'
,
'lastLogin'
=>
3999
,
'lastLogin'
=>
3999
000
,
'backend'
=>
'OC_User_Dummy'
,
'email'
=>
'bar@dummy.com'
,
'isRestoreDisabled'
=>
false
,
...
...
@@ -545,7 +545,7 @@ class UsersControllerTest extends \Test\TestCase {
'subadmin'
=>
array
(),
'quota'
=>
null
,
'storageLocation'
=>
'/home/foo'
,
'lastLogin'
=>
500
,
'lastLogin'
=>
500
000
,
'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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment