More fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
3aa5f105fa
commit
799f58391e
|
@ -11,6 +11,10 @@ namespace Test\Files\Mount;
|
||||||
use OC\Files\Storage\StorageFactory;
|
use OC\Files\Storage\StorageFactory;
|
||||||
use OCP\Files\Storage;
|
use OCP\Files\Storage;
|
||||||
|
|
||||||
|
class DummyStorage {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
class MountPointTest extends \Test\TestCase {
|
class MountPointTest extends \Test\TestCase {
|
||||||
|
|
||||||
public function testGetStorage() {
|
public function testGetStorage() {
|
||||||
|
@ -26,7 +30,7 @@ class MountPointTest extends \Test\TestCase {
|
||||||
|
|
||||||
$mountPoint = new \OC\Files\Mount\MountPoint(
|
$mountPoint = new \OC\Files\Mount\MountPoint(
|
||||||
// just use this because a real class is needed
|
// just use this because a real class is needed
|
||||||
'\Test\Files\Mount\MountPointTest',
|
'\Test\Files\Mount\DummyStorage',
|
||||||
'/mountpoint',
|
'/mountpoint',
|
||||||
null,
|
null,
|
||||||
$loader
|
$loader
|
||||||
|
@ -53,7 +57,7 @@ class MountPointTest extends \Test\TestCase {
|
||||||
|
|
||||||
$mountPoint = new \OC\Files\Mount\MountPoint(
|
$mountPoint = new \OC\Files\Mount\MountPoint(
|
||||||
// just use this because a real class is needed
|
// just use this because a real class is needed
|
||||||
'\Test\Files\Mount\MountPointTest',
|
'\Test\Files\Mount\DummyStorage',
|
||||||
'/mountpoint',
|
'/mountpoint',
|
||||||
null,
|
null,
|
||||||
$loader
|
$loader
|
||||||
|
|
Loading…
Reference in New Issue