Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
这个提交包含在:
Joas Schilling 2022-07-06 14:27:18 +02:00
父节点 9db8b0adf9
当前提交 a0f5aebb89
找不到此签名对应的密钥
GPG 密钥 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')