mirror of
https://github.com/nextcloud/server.git
synced 2026-05-26 03:04:35 -04:00
test: fix trashbin StorageTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
1df9f6e691
commit
5b7c43f9d5
1 changed files with 1 additions and 0 deletions
|
|
@ -616,6 +616,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