mirror of
https://github.com/nextcloud/server.git
synced 2026-03-02 05:20:46 -05:00
Fix test failure introduced in https://github.com/nextcloud/server/pull/33819
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 4de19e9f85)
This commit is contained in:
parent
3efc80d097
commit
d864ea3caa
1 changed files with 6 additions and 0 deletions
|
|
@ -267,6 +267,12 @@ class UsersControllerTest extends TestCase {
|
|||
->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', '', '', []);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue