diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-06-21 10:18:44 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-06-21 10:22:12 +0200 |
commit | 29449f85b688deb1f103f3f67993475a040b4d80 (patch) | |
tree | d559843031dd09b030b68cc3b5719e973ddc4296 /apps/provisioning_api/tests/Controller | |
parent | 05b3288fdd5c863a328b919b10cfe604695a4b45 (diff) | |
download | nextcloud-server-29449f85b688deb1f103f3f67993475a040b4d80.tar.gz nextcloud-server-29449f85b688deb1f103f3f67993475a040b4d80.zip |
uses "yes" and "no" for config switch over stringified numbers
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.php | 6 |
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 eaee0380f78..63f9d4c376a 100644 --- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php +++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php @@ -428,7 +428,7 @@ class UsersControllerTest extends TestCase { ->method('getAppValue') ->willReturnCallback(function($appid, $key, $default) { if($key === 'newUser.generateUserID') { - return true; + return 'yes'; } return null; }); @@ -483,7 +483,7 @@ class UsersControllerTest extends TestCase { ->method('getAppValue') ->willReturnCallback(function($appid, $key, $default) { if($key === 'newUser.generateUserID') { - return '1'; + return 'yes'; } return null; }); @@ -526,7 +526,7 @@ class UsersControllerTest extends TestCase { ->method('getAppValue') ->willReturnCallback(function($appid, $key, $default) { if($key === 'newUser.requireEmail') { - return '1'; + return 'yes'; } return null; }); |