Skip to content

Commit 1e09e7a

Browse files
committed
Remove at() matcher from tests in federatedfilesharing
Signed-off-by: Côme Chilliet <[email protected]>
1 parent 45a75c6 commit 1e09e7a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

apps/federatedfilesharing/tests/FederatedShareProviderTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -548,11 +548,7 @@ public function testGetSharedBy() {
548548
$node->method('getId')->willReturn(42);
549549
$node->method('getName')->willReturn('myFile');
550550

551-
$this->addressHandler->expects($this->at(0))->method('splitUserRemote')
552-
->willReturn(['user', 'server.com']);
553-
554-
$this->addressHandler->expects($this->at(1))->method('splitUserRemote')
555-
->willReturn(['user2', 'server.com']);
551+
$this->addressHandler->expects($this->never())->method('splitUserRemote');
556552

557553
$this->addressHandler->method('generateRemoteURL')
558554
->willReturn('remoteurl.com');

0 commit comments

Comments
 (0)