summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-07-06 14:27:18 +0200
committerJoas Schilling <coding@schilljs.com>2022-07-06 14:27:18 +0200
commita0f5aebb89da4f18b37026e72e543bbe66b32980 (patch)
tree2934667ab9f73bf30fe9600e1dde575d64528ef2 /apps/provisioning_api/tests
parent9db8b0adf9d5c9890c7b63f5cb1242794c793b43 (diff)
downloadnextcloud-server-a0f5aebb89da4f18b37026e72e543bbe66b32980.tar.gz
nextcloud-server-a0f5aebb89da4f18b37026e72e543bbe66b32980.zip
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/provisioning_api/tests')
-rw-r--r--apps/provisioning_api/tests/Controller/UsersControllerTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php
index 6162be54a04..4449302fedd 100644
--- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php
+++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php
@@ -1486,7 +1486,8 @@ class UsersControllerTest extends TestCase {
$targetUser
->expects($this->once())
->method('setDisplayName')
- ->with('NewDisplayName');
+ ->with('NewDisplayName')
+ ->willReturn(true);
$targetUser
->expects($this->any())
->method('getUID')