From 7ab919256b066970a0a7139ab19bcdae5773c036 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 16 Mar 2015 14:13:56 +0100 Subject: fix test --- tests/lib/files/view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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(); -- cgit v1.2.3