From bbe2f2535a5207b2b998cae8079a488541baf100 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 14 Jun 2019 17:28:50 +0200 Subject: makes users management page aware of the introduced options Signed-off-by: Arthur Schiwon --- apps/provisioning_api/tests/Controller/UsersControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/provisioning_api/tests/Controller') diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php index b064f019f09..eaee0380f78 100644 --- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php +++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php @@ -483,7 +483,7 @@ class UsersControllerTest extends TestCase { ->method('getAppValue') ->willReturnCallback(function($appid, $key, $default) { if($key === 'newUser.generateUserID') { - return true; + return '1'; } return null; }); @@ -526,7 +526,7 @@ class UsersControllerTest extends TestCase { ->method('getAppValue') ->willReturnCallback(function($appid, $key, $default) { if($key === 'newUser.requireEmail') { - return true; + return '1'; } return null; }); -- cgit v1.2.3