Skip to content

Commit 0c91361

Browse files
committed
test(files_trashbin): Do not setup View with a path containing a trailing /
This would break later on when trying to match deleted files in HookConnector::getNodeForPath Signed-off-by: Louis Chmn <louis@chmn.me>
1 parent 11f8306 commit 0c91361

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_trashbin/tests/StorageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ protected function setUp(): void {
8181
Storage::setupStorage();
8282

8383
$this->rootView = new View('/');
84-
$this->userView = new View('/' . $this->user . '/files/');
84+
$this->userView = new View('/' . $this->user . '/files');
8585
$this->userView->file_put_contents('test.txt', 'foo');
8686
$this->userView->file_put_contents(static::LONG_FILENAME, 'foo');
8787
$this->userView->file_put_contents(static::MAX_FILENAME, 'foo');

0 commit comments

Comments
 (0)