diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-05-24 12:56:01 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-05-24 12:56:01 +0200 |
commit | 1e09e7a1b6740db072178be584ada34074856a34 (patch) | |
tree | f3559d6f3e4ebd03f79d151002fa8c3ac92f932c /apps/federatedfilesharing/tests | |
parent | 45a75c631e638ccab8934584aedad834229d10a7 (diff) | |
download | nextcloud-server-1e09e7a1b6740db072178be584ada34074856a34.tar.gz nextcloud-server-1e09e7a1b6740db072178be584ada34074856a34.zip |
Remove at() matcher from tests in federatedfilesharing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/federatedfilesharing/tests')
-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'); |