diff options
author | Joas Schilling <coding@schilljs.com> | 2022-07-06 14:27:18 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-07-06 14:27:18 +0200 |
commit | a0f5aebb89da4f18b37026e72e543bbe66b32980 (patch) | |
tree | 2934667ab9f73bf30fe9600e1dde575d64528ef2 /apps/provisioning_api/tests | |
parent | 9db8b0adf9d5c9890c7b63f5cb1242794c793b43 (diff) | |
download | nextcloud-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.php | 3 |
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') |