Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
Este commit está contenido en:
Joas Schilling 2022-07-06 14:27:18 +02:00
padre 9db8b0adf9
commit a0f5aebb89
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: C2384F28E6F59A23

Ver fichero

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