mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Remove at() matcher from tests in federatedfilesharing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
45a75c631e
commit
1e09e7a1b6
1 changed files with 1 additions and 5 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue