소스 검색

Fix test failure introduced in https://github.com/nextcloud/server/pull/33819

Signed-off-by: Christopher Ng <chrng8@gmail.com>
tags/v25.0.0beta7
Christopher Ng 1 년 전
부모
커밋
4de19e9f85
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6
    0
      apps/provisioning_api/tests/Controller/UsersControllerTest.php

+ 6
- 0
apps/provisioning_api/tests/Controller/UsersControllerTest.php 파일 보기

@@ -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…
취소
저장