aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-04-11 00:30:14 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-04-11 00:30:14 +0200
commita8d4b0688e92bd8272919137744ed08218b3a575 (patch)
treec38a6e6983825bafbd7677ec54c5ff46214290ba /apps/provisioning_api
parentd363e2f0e3ff2e0d3dec9f976c0d7e016909f230 (diff)
downloadnextcloud-server-a8d4b0688e92bd8272919137744ed08218b3a575.tar.gz
nextcloud-server-a8d4b0688e92bd8272919137744ed08218b3a575.zip
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/provisioning_api')
-rw-r--r--apps/provisioning_api/tests/Controller/UsersControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php
index 148879d6d91..6959f16f5cb 100644
--- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php
+++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php
@@ -732,7 +732,7 @@ class UsersControllerTest extends TestCase {
->expects($this->at(0))
->method('getUserValue')
->with('UID', 'core', 'enabled', 'true')
- ->will($this->returnValue('true'));
+ ->will($this->returnValue('true'));
$this->config
->expects($this->at(1))
->method('getUserValue')
@@ -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',