diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/files/view.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php index 99310742473..06a42d63431 100644 --- a/tests/lib/files/view.php +++ b/tests/lib/files/view.php @@ -1090,7 +1090,7 @@ class View extends \Test\TestCase { public function testReadFromWriteLockedPath() { $view = new \OC\Files\View(); $storage = new Temporary(array()); - Filesystem::mount($storage, [], '/'); + \OC\Files\Filesystem::mount($storage, [], '/'); $view->lockFile('/foo/bar', ILockingProvider::LOCK_EXCLUSIVE); $view->lockFile('/foo/bar/asd', ILockingProvider::LOCK_SHARED); } @@ -1103,7 +1103,7 @@ class View extends \Test\TestCase { public function testWriteToReadLockedFile() { $view = new \OC\Files\View(); $storage = new Temporary(array()); - Filesystem::mount($storage, [], '/'); + \OC\Files\Filesystem::mount($storage, [], '/'); $view->lockFile('/foo/bar', ILockingProvider::LOCK_SHARED); $view->lockFile('/foo/bar', ILockingProvider::LOCK_EXCLUSIVE); } |