diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-05-11 17:22:39 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-06-01 13:22:56 +0200 |
commit | d519aba878cca25acbe0aecc39efa9cb76bda4bb (patch) | |
tree | 96e765aeaa766a8160b4ef2b46a9b3e894a51dcd | |
parent | a1a25a9b5bddab05b6e8250557e8b7b6e17da1ff (diff) | |
download | nextcloud-server-d519aba878cca25acbe0aecc39efa9cb76bda4bb.tar.gz nextcloud-server-d519aba878cca25acbe0aecc39efa9cb76bda4bb.zip |
fix test
-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); } |