diff options
author | Joas Schilling <coding@schilljs.com> | 2022-07-06 14:27:18 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2022-07-06 20:57:33 +0000 |
commit | a06f0274fe0ae93b04f60166b040744a0646488c (patch) | |
tree | dd8f0d84c825ba02e0217abfac527b4126632e75 | |
parent | be7a9361dbb0902e4bc811766f6118b2f6f11141 (diff) | |
download | nextcloud-server-a06f0274fe0ae93b04f60166b040744a0646488c.tar.gz nextcloud-server-a06f0274fe0ae93b04f60166b040744a0646488c.zip |
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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') |