diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-11-24 15:54:42 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-12-04 16:47:27 +0100 |
commit | f4701d7721453b8356a5be401bb5063d22f851c6 (patch) | |
tree | b27f76b8c02e658ac5e4b599a0ee4e4839b5de19 /tests/lib/files/utils | |
parent | f3213571bb2609a7f279fd5254f872083b3ea91a (diff) | |
download | nextcloud-server-f4701d7721453b8356a5be401bb5063d22f851c6.tar.gz nextcloud-server-f4701d7721453b8356a5be401bb5063d22f851c6.zip |
Add public api for mount configurations
Diffstat (limited to 'tests/lib/files/utils')
-rw-r--r-- | tests/lib/files/utils/scanner.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/lib/files/utils/scanner.php b/tests/lib/files/utils/scanner.php index f729be81bd7..65ddfe47514 100644 --- a/tests/lib/files/utils/scanner.php +++ b/tests/lib/files/utils/scanner.php @@ -9,17 +9,17 @@ namespace Test\Files\Utils; use OC\Files\Filesystem; -use OC\Files\Mount\Mount; +use OC\Files\Mount\MountPoint; use OC\Files\Storage\Temporary; class TestScanner extends \OC\Files\Utils\Scanner { /** - * @var \OC\Files\Mount\Mount[] $mounts + * @var \OC\Files\Mount\MountPoint[] $mounts */ private $mounts = array(); /** - * @param \OC\Files\Mount\Mount $mount + * @param \OC\Files\Mount\MountPoint $mount */ public function addMount($mount) { $this->mounts[] = $mount; @@ -56,7 +56,7 @@ class Scanner extends \Test\TestCase { public function testReuseExistingRoot() { $storage = new Temporary(array()); - $mount = new Mount($storage, ''); + $mount = new MountPoint($storage, ''); Filesystem::getMountManager()->addMount($mount); $cache = $storage->getCache(); @@ -78,7 +78,7 @@ class Scanner extends \Test\TestCase { public function testReuseExistingFile() { $storage = new Temporary(array()); - $mount = new Mount($storage, ''); + $mount = new MountPoint($storage, ''); Filesystem::getMountManager()->addMount($mount); $cache = $storage->getCache(); @@ -105,7 +105,7 @@ class Scanner extends \Test\TestCase { $propagator = $this->getMock('\OC\Files\Cache\ChangePropagator', array('propagateChanges'), array(), '', false); $storage = new Temporary(array()); - $mount = new Mount($storage, '/foo'); + $mount = new MountPoint($storage, '/foo'); Filesystem::getMountManager()->addMount($mount); $cache = $storage->getCache(); |