Skip to content

Commit

Permalink
fixup! wip: try to fix webdav propfinds with depth > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr committed Feb 14, 2023
1 parent 7ffc0ff commit 15b85a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/lib/Files/Node/FolderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ public function testGetDirectoryContent() {
new FileInfo('/bar/foo/asd', null, 'foo/asd', ['fileid' => 2, 'path' => '/bar/foo/asd', 'name' => 'asd', 'size' => 100, 'mtime' => 50, 'mimetype' => 'text/plain'], null),
new FileInfo('/bar/foo/qwerty', null, 'foo/qwerty', ['fileid' => 3, 'path' => '/bar/foo/qwerty', 'name' => 'qwerty', 'size' => 200, 'mtime' => 55, 'mimetype' => 'httpd/unix-directory'], null),
]);
$view->method('getRelativePath')
->willReturnCallback(function ($path) {
return $path;
});
$view->method('getFileInfo')
->willReturn($this->createMock(FileInfo::class));

Expand Down

0 comments on commit 15b85a1

Please sign in to comment.