Fixed tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
eae55761de
commit
8b9bd37e4e
2 changed files with 3 additions and 3 deletions
|
@ -766,7 +766,7 @@ class UsersControllerTest extends TestCase {
|
|||
|
||||
$expected = [
|
||||
'id' => 'UID',
|
||||
'enabled' => 'true',
|
||||
'enabled' => true,
|
||||
'storageLocation' => '/var/www/newtcloud/data/UID',
|
||||
'lastLogin' => 1521191471000,
|
||||
'backend' => 'Database',
|
||||
|
@ -881,7 +881,7 @@ class UsersControllerTest extends TestCase {
|
|||
|
||||
$expected = [
|
||||
'id' => 'UID',
|
||||
'enabled' => 'true',
|
||||
'enabled' => true,
|
||||
'storageLocation' => '/var/www/newtcloud/data/UID',
|
||||
'lastLogin' => 1521191471000,
|
||||
'backend' => 'Database',
|
||||
|
|
|
@ -816,7 +816,7 @@ class UserTest extends TestCase {
|
|||
->method('triggerChange')
|
||||
->with(
|
||||
'enabled',
|
||||
'false'
|
||||
false
|
||||
);
|
||||
|
||||
$user->setEnabled(false);
|
||||
|
|
Loading…
Reference in a new issue