diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Files/Node/FolderTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/Files/Node/FolderTest.php b/tests/lib/Files/Node/FolderTest.php index 8a604af3846..f8573f0214d 100644 --- a/tests/lib/Files/Node/FolderTest.php +++ b/tests/lib/Files/Node/FolderTest.php @@ -81,6 +81,8 @@ class FolderTest extends NodeTest { ]); $view->method('getFileInfo') ->willReturn($this->createMock(FileInfo::class)); + $view->method('getRelativePath') + ->willReturn('/bar/foo'); $node = new Folder($root, $view, '/bar/foo'); $children = $node->getDirectoryListing(); |