summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/lib/Share20/ManagerTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php
index bbdef2130f5..abfe2ca9c12 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -2757,11 +2757,17 @@ class ManagerTest extends \Test\TestCase {
$file->method('getParent')
->willReturn($folder);
+ $file->method('getPath')
+ ->willReturn('/owner/files/folder/file');
$folder->method('getParent')
->willReturn($userFolder);
+ $folder->method('getPath')
+ ->willReturn('/owner/files/folder');
$userFolder->method('getById')
->with($this->equalTo(42))
->willReturn([$file]);
+ $userFolder->method('getPath')
+ ->willReturn('/owner/files');
$userShare = $this->createMock(IShare::class);
$userShare->method('getShareType')