Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/federatedfilesharing/tests/FederatedShareProviderTest.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/federatedfilesharing/tests/FederatedShareProviderTest.php b/apps/federatedfilesharing/tests/FederatedShareProviderTest.php
index 831b9b59b54..7d9b2486080 100644
--- a/apps/federatedfilesharing/tests/FederatedShareProviderTest.php
+++ b/apps/federatedfilesharing/tests/FederatedShareProviderTest.php
@@ -548,11 +548,7 @@ class FederatedShareProviderTest extends \Test\TestCase {
$node->method('getId')->willReturn(42);
$node->method('getName')->willReturn('myFile');
- $this->addressHandler->expects($this->at(0))->method('splitUserRemote')
- ->willReturn(['user', 'server.com']);
-
- $this->addressHandler->expects($this->at(1))->method('splitUserRemote')
- ->willReturn(['user2', 'server.com']);
+ $this->addressHandler->expects($this->never())->method('splitUserRemote');
$this->addressHandler->method('generateRemoteURL')
->willReturn('remoteurl.com');