This commit is contained in:
Robin Appelman 2015-05-11 17:22:39 +02:00
parent a1a25a9b5b
commit d519aba878
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}