aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-06-16 07:46:46 +0200
committerJoas Schilling <coding@schilljs.com>2025-06-16 07:46:46 +0200
commit004eb617161dec8f53c963405b78d451034470e5 (patch)
tree4280ef45892b6d570ad3615dc8e71ae8a65a270a
parentdd91b8e3dbca3a1ad758c40f123443241a0f1d5f (diff)
downloadnextcloud-server-bugfix/53457/red-ci.tar.gz
nextcloud-server-bugfix/53457/red-ci.zip
test: Adjust tests to match code againbugfix/53457/red-ci
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--apps/cloud_federation_api/tests/RequestHandlerControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cloud_federation_api/tests/RequestHandlerControllerTest.php b/apps/cloud_federation_api/tests/RequestHandlerControllerTest.php
index eeb24cf9372..769e0a2dbff 100644
--- a/apps/cloud_federation_api/tests/RequestHandlerControllerTest.php
+++ b/apps/cloud_federation_api/tests/RequestHandlerControllerTest.php
@@ -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');