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]>
  • Loading branch information
Pytal committed Sep 16, 2022
1 parent f922b2f commit 4de19e9
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 4de19e9

Please sign in to comment.