diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-03-05 17:31:35 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-03-11 15:07:59 +0100 |
commit | 169031d1c5f0fbd3249e5a569b035a39be5a779d (patch) | |
tree | 7562aab176111f493fc76b2bf9b2bece5a3d442b /tests/lib/files/view.php | |
parent | e1f2a6df94af29864778a3ac286887ba51f19b04 (diff) | |
download | nextcloud-server-169031d1c5f0fbd3249e5a569b035a39be5a779d.tar.gz nextcloud-server-169031d1c5f0fbd3249e5a569b035a39be5a779d.zip |
fix factory test
Diffstat (limited to 'tests/lib/files/view.php')
-rw-r--r-- | tests/lib/files/view.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php index 475383b5fe0..9ff46705b87 100644 --- a/tests/lib/files/view.php +++ b/tests/lib/files/view.php @@ -8,7 +8,6 @@ namespace Test\Files; use OC\Files\Cache\Watcher; -use OC\Files\Filesystem; use OC\Files\Mount\MountPoint; use OC\Files\Storage\Temporary; @@ -980,7 +979,7 @@ class View extends \Test\TestCase { public function testSetMountOptionsInStorage() { $mount = new MountPoint('\OC\Files\Storage\Temporary', '/asd/', [[]], Filesystem::getLoader(), ['foo' => 'bar']); - Filesystem::getMountManager()->addMount($mount); + \OC\Files\Filesystem::getMountManager()->addMount($mount); /** @var \OC\Files\Storage\Common $storage */ $storage = $mount->getStorage(); $this->assertEquals($storage->getMountOption('foo'), 'bar'); @@ -988,7 +987,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]); - Filesystem::getMountManager()->addMount($mount); + \OC\Files\Filesystem::getMountManager()->addMount($mount); /** @var \OC\Files\Storage\Common $storage */ $storage = $mount->getStorage(); $watcher = $storage->getWatcher(); |