From 004eb617161dec8f53c963405b78d451034470e5 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 16 Jun 2025 07:46:46 +0200 Subject: [PATCH] test: Adjust tests to match code again Signed-off-by: Joas Schilling --- .../cloud_federation_api/tests/RequestHandlerControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cloud_federation_api/tests/RequestHandlerControllerTest.php b/apps/cloud_federation_api/tests/RequestHandlerControllerTest.php index eeb24cf937203..769e0a2dbffd7 100644 --- a/apps/cloud_federation_api/tests/RequestHandlerControllerTest.php +++ b/apps/cloud_federation_api/tests/RequestHandlerControllerTest.php @@ -114,7 +114,7 @@ public function testInviteAccepted(): void { $user = $this->createMock(IUser::class); $user->method('getUID') ->willReturn($userId); - $user->method('getPrimaryEMailAddress') + $user->method('getEMailAddress') ->willReturn('email'); $user->method('getDisplayName') ->willReturn('displayName');