From 6d5de533a6f00e950c4b5ce202c5587e59ca9ba0 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 13 Mar 2024 16:56:03 +0100 Subject: fix(federation): Send the display name when accepting the invite Signed-off-by: Joas Schilling --- tests/php/Federation/FederationTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/php') diff --git a/tests/php/Federation/FederationTest.php b/tests/php/Federation/FederationTest.php index 36b9143ec..10e4c1c93 100644 --- a/tests/php/Federation/FederationTest.php +++ b/tests/php/Federation/FederationTest.php @@ -404,6 +404,7 @@ class FederationTest extends TestCase { 'sharedSecret' => $token, 'message' => 'Recipient accepted the share', 'remoteServerUrl' => 'http://example.tld', + 'displayName' => 'Foo Bar', ] ); @@ -428,7 +429,7 @@ class FederationTest extends TestCase { ->with('/') ->willReturn('http://example.tld/index.php/'); - $success = $this->backendNotifier->sendShareAccepted($remote, $id, $token); + $success = $this->backendNotifier->sendShareAccepted($remote, $id, $token, 'Foo Bar'); $this->assertTrue($success); } -- cgit v1.2.3