test: Adjust tests to match code again

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2025-06-16 07:46:46 +02:00
parent dd91b8e3db
commit 004eb61716
No known key found for this signature in database
GPG key ID: F72FA5B49FFA96B0

View file

@ -114,7 +114,7 @@ class RequestHandlerControllerTest extends TestCase {
$user = $this->createMock(IUser::class);
$user->method('getUID')
->willReturn($userId);
$user->method('getPrimaryEMailAddress')
$user->method('getEMailAddress')
->willReturn('email');
$user->method('getDisplayName')
->willReturn('displayName');