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:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-05-24 13:56:01 +0300
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-05-24 13:56:01 +0300
commit1e09e7a1b6740db072178be584ada34074856a34 (patch)
treef3559d6f3e4ebd03f79d151002fa8c3ac92f932c /apps/federatedfilesharing
parent45a75c631e638ccab8934584aedad834229d10a7 (diff)
Remove at() matcher from tests in federatedfilesharingfix/remove-at-matcher-in-federatedfilesharing-tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/federatedfilesharing')
-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');