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 <91878298+come-nc@users.noreply.github.com>2022-06-02 18:06:01 +0300
committerGitHub <noreply@github.com>2022-06-02 18:06:01 +0300
commit27cdc8dab11591f79256122578edfeb5484222f8 (patch)
treee61025ef710ca00204ef68b862fe6ef2880b87c0 /apps/federatedfilesharing
parent07b53b9d4163e8fcc6ab231f770edb4a984c68a7 (diff)
parent1e09e7a1b6740db072178be584ada34074856a34 (diff)
Merge pull request #32570 from nextcloud/fix/remove-at-matcher-in-federatedfilesharing-tests
Remove at() matcher from tests in federatedfilesharing
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');