mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix test
This commit is contained in:
parent
169031d1c5
commit
7ab919256b
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue