summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-03-16 14:13:56 +0100
committerRobin Appelman <icewind@owncloud.com>2015-03-16 14:13:56 +0100
commit7ab919256b066970a0a7139ab19bcdae5773c036 (patch)
treee3dfa0bb0d990d0182abefdb2a16a7af90a64789 /tests
parent169031d1c5f0fbd3249e5a569b035a39be5a779d (diff)
downloadnextcloud-server-7ab919256b066970a0a7139ab19bcdae5773c036.tar.gz
nextcloud-server-7ab919256b066970a0a7139ab19bcdae5773c036.zip
fix test
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/view.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php
index 9ff46705b87..cd9f2d4afd1 100644
--- a/tests/lib/files/view.php
+++ b/tests/lib/files/view.php
@@ -978,7 +978,7 @@ class View extends \Test\TestCase {
}
public function testSetMountOptionsInStorage() {
- $mount = new MountPoint('\OC\Files\Storage\Temporary', '/asd/', [[]], Filesystem::getLoader(), ['foo' => 'bar']);
+ $mount = new MountPoint('\OC\Files\Storage\Temporary', '/asd/', [[]], \OC\Files\Filesystem::getLoader(), ['foo' => 'bar']);
\OC\Files\Filesystem::getMountManager()->addMount($mount);
/** @var \OC\Files\Storage\Common $storage */
$storage = $mount->getStorage();
@@ -986,7 +986,7 @@ class View extends \Test\TestCase {
}
public function testSetMountOptionsWatcherPolicy() {
- $mount = new MountPoint('\OC\Files\Storage\Temporary', '/asd/', [[]], Filesystem::getLoader(), ['filesystem_check_changes' => Watcher::CHECK_NEVER]);
+ $mount = new MountPoint('\OC\Files\Storage\Temporary', '/asd/', [[]], \OC\Files\Filesystem::getLoader(), ['filesystem_check_changes' => Watcher::CHECK_NEVER]);
\OC\Files\Filesystem::getMountManager()->addMount($mount);
/** @var \OC\Files\Storage\Common $storage */
$storage = $mount->getStorage();