Fixed tests

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-04-09 11:31:41 +02:00
parent eae55761de
commit 8b9bd37e4e
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF
2 changed files with 3 additions and 3 deletions

View file

@ -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',

View file

@ -816,7 +816,7 @@ class UserTest extends TestCase {
->method('triggerChange')
->with(
'enabled',
'false'
false
);
$user->setEnabled(false);