diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2022-06-02 17:06:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 17:06:01 +0200 |
commit | 27cdc8dab11591f79256122578edfeb5484222f8 (patch) | |
tree | e61025ef710ca00204ef68b862fe6ef2880b87c0 | |
parent | 07b53b9d4163e8fcc6ab231f770edb4a984c68a7 (diff) | |
parent | 1e09e7a1b6740db072178be584ada34074856a34 (diff) | |
download | nextcloud-server-27cdc8dab11591f79256122578edfeb5484222f8.tar.gz nextcloud-server-27cdc8dab11591f79256122578edfeb5484222f8.zip |
Merge pull request #32570 from nextcloud/fix/remove-at-matcher-in-federatedfilesharing-tests
Remove at() matcher from tests in federatedfilesharing
-rw-r--r-- | apps/federatedfilesharing/tests/FederatedShareProviderTest.php | 6 |
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'); |