Skip to content

Commit

Permalink
Fix test failure introduced in #33819
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <[email protected]>
(cherry picked from commit 4de19e9)
  • Loading branch information
Pytal committed Sep 19, 2022
1 parent 3efc80d commit d864ea3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,12 @@ public function testAddUserAlreadyExisting() {
->method('isAdmin')
->with('adminUser')
->willReturn(true);
$l10n = $this->createMock(IL10N::class);
$this->l10nFactory
->expects($this->once())
->method('get')
->with('provisioning_api')
->willReturn($l10n);

$this->api->addUser('AlreadyExistingUser', 'password', '', '', []);
}
Expand Down

0 comments on commit d864ea3

Please sign in to comment.