Remove at() matcher from tests in federatedfilesharing

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2022-05-24 12:56:01 +02:00
parent 45a75c631e
commit 1e09e7a1b6
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -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');