]> source.dussan.org Git - nextcloud-server.git/commitdiff
More fixes
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 22 Nov 2019 07:37:58 +0000 (08:37 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 27 Nov 2019 12:34:41 +0000 (13:34 +0100)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tests/lib/Files/Mount/MountPointTest.php

index 03b106eb598bc7b6b552ca1552f9f8a8cccdcd45..9b63c507b5fc647611a574fa6e0071280367c1a6 100644 (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