aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests/Controller
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-06-14 17:28:50 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-06-19 17:04:35 +0200
commitbbe2f2535a5207b2b998cae8079a488541baf100 (patch)
tree8766f9169debcceae878d43bae97e8ae6d8314db /apps/provisioning_api/tests/Controller
parent660fbd64e34fccb26f1a38d1b67da5618e624875 (diff)
downloadnextcloud-server-bbe2f2535a5207b2b998cae8079a488541baf100.tar.gz
nextcloud-server-bbe2f2535a5207b2b998cae8079a488541baf100.zip
makes users management page aware of the introduced options
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/provisioning_api/tests/Controller')
-rw-r--r--apps/provisioning_api/tests/Controller/UsersControllerTest.php4
1 files changed, 2 insertions, 2 deletions
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;
});