More fixes

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-11-22 08:37:58 +01:00
parent 3aa5f105fa
commit 799f58391e
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 6 additions and 2 deletions

View File

@ -11,6 +11,10 @@ namespace Test\Files\Mount;
use OC\Files\Storage\StorageFactory;
use OCP\Files\Storage;
class DummyStorage {
}
class MountPointTest extends \Test\TestCase {
public function testGetStorage() {
@ -26,7 +30,7 @@ class MountPointTest extends \Test\TestCase {
$mountPoint = new \OC\Files\Mount\MountPoint(
// just use this because a real class is needed
'\Test\Files\Mount\MountPointTest',
'\Test\Files\Mount\DummyStorage',
'/mountpoint',
null,
$loader
@ -53,7 +57,7 @@ class MountPointTest extends \Test\TestCase {
$mountPoint = new \OC\Files\Mount\MountPoint(
// just use this because a real class is needed
'\Test\Files\Mount\MountPointTest',
'\Test\Files\Mount\DummyStorage',
'/mountpoint',
null,
$loader