Browse Source

Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v25.0.0beta1
Joas Schilling 2 years ago
parent
commit
a0f5aebb89
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      apps/provisioning_api/tests/Controller/UsersControllerTest.php

+ 2
- 1
apps/provisioning_api/tests/Controller/UsersControllerTest.php View 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')

Loading…
Cancel
Save