diff options
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/files/view.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php index 8d56ecd9003..5f030f29fa7 100644 --- a/tests/lib/files/view.php +++ b/tests/lib/files/view.php @@ -177,8 +177,9 @@ class View extends \PHPUnit_Framework_TestCase { function testCacheIncompleteFolder() { $storage1 = $this->getTestStorage(false); - \OC\Files\Filesystem::mount($storage1, array(), '/'); - $rootView = new \OC\Files\View(''); + \OC\Files\Filesystem::clearMounts(); + \OC\Files\Filesystem::mount($storage1, array(), '/incomplete'); + $rootView = new \OC\Files\View('/incomplete'); $entries = $rootView->getDirectoryContent('/'); $this->assertEquals(3, count($entries)); |