Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2022-07-06 14:27:18 +02:00
父節點 9db8b0adf9
當前提交 a0f5aebb89
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: C2384F28E6F59A23

查看文件

@ -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')