diff --git a/tests/lib/Files/ViewTest.php b/tests/lib/Files/ViewTest.php index e07a6619d02bb..773a20ab2ae52 100644 --- a/tests/lib/Files/ViewTest.php +++ b/tests/lib/Files/ViewTest.php @@ -1681,7 +1681,7 @@ public function testMoveMountPointIntoSharedFolder() { $view->mkdir('shareddir/sub2'); // Create a similar named but non-shared folder $view->mkdir('shareddir notshared'); - $view->mkdir('shareddir notshared'/sub); + $view->mkdir('shareddir notshared/sub'); $fileId = $view->getFileInfo('shareddir')->getId(); $userObject = \OC::$server->getUserManager()->createUser('test2', 'IHateNonMockableStaticClasses'); @@ -1701,7 +1701,7 @@ public function testMoveMountPointIntoSharedFolder() { $this->assertFalse($view->rename('mount1', 'shareddir/sub'), 'Cannot move mount point into shared folder'); $this->assertFalse($view->rename('mount1', 'shareddir/sub/sub2'), 'Cannot move mount point into shared subfolder'); $this->assertTrue($view->rename('mount1', 'shareddir notshared'), 'Can move mount point into a similarly named but non-shared folder'); - $this->assertTrue($view->rename('mount1', 'shareddir notshared/sub'), 'Can move mount point into a similarly named but non-shared folder'); + $this->assertTrue($view->rename('mount1', 'shareddir notshared/sub'), 'Can move mount point into a similarly named but non-shared subfolder'); $shareManager->deleteShare($share); $userObject->delete();