mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #32570 from nextcloud/fix/remove-at-matcher-in-federatedfilesharing-tests
Remove at() matcher from tests in federatedfilesharing
This commit is contained in:
commit
27cdc8dab1
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