summaryrefslogtreecommitdiffstats
path: root/tests/php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-03-13 16:56:03 +0100
committerJoas Schilling <coding@schilljs.com>2024-03-14 09:47:19 +0100
commit6d5de533a6f00e950c4b5ce202c5587e59ca9ba0 (patch)
tree4777c346472dff6c3cd0d555916a69a59926cd21 /tests/php
parent2e947ea83cfbe462043af920da239903904bcec1 (diff)
fix(federation): Send the display name when accepting the invite
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/php')
-rw-r--r--tests/php/Federation/FederationTest.php3
1 files changed, 2 insertions, 1 deletions
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);
}