]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix unit tests 33143/head
authorJoas Schilling <coding@schilljs.com>
Wed, 6 Jul 2022 12:27:18 +0000 (14:27 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Wed, 6 Jul 2022 20:54:18 +0000 (20:54 +0000)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/provisioning_api/tests/Controller/UsersControllerTest.php

index 6162be54a041cb87ddb446171853ce6bcf6d83da..4449302fedda41ad6b5413e9ba78c22edc4fd379 100644 (file)
@@ -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')