mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
test: fix trashbin StorageTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
7661a7e90a
commit
d8ed84653b
1 changed files with 1 additions and 0 deletions
|
|
@ -591,6 +591,7 @@ class StorageTest extends \Test\TestCase {
|
|||
$event->expects($this->any())->method('shouldMoveToTrashBin')->willReturn(!$appDisablesTrash);
|
||||
|
||||
$userFolder->expects($this->any())->method('getById')->with($fileID)->willReturn([$node]);
|
||||
$rootFolder->expects($this->any())->method('getById')->with($fileID)->willReturn([$node]);
|
||||
$rootFolder->expects($this->any())->method('getUserFolder')->willReturn($userFolder);
|
||||
|
||||
$storage = $this->getMockBuilder(Storage::class)
|
||||
|
|
|
|||
Loading…
Reference in a new issue