summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-10 23:20:27 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-19 14:41:43 +0100
commit3b27603762e38f87d50b923e05cfb86c83b1ca1b (patch)
tree11b6fbe81ccd314667bc334db6727a23e558a70b /tests
parent118cb7df1a906ce003fd80c1d64b357f45afcf02 (diff)
downloadnextcloud-server-3b27603762e38f87d50b923e05cfb86c83b1ca1b.tar.gz
nextcloud-server-3b27603762e38f87d50b923e05cfb86c83b1ca1b.zip
Revert "Fix mounting wrapped storages resulting in many-layered wrapping"
This reverts commit 75a5e6e12b18a9f5b7b113cd7e2c9c56c204084d.
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/mount/mountpoint.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/lib/files/mount/mountpoint.php b/tests/lib/files/mount/mountpoint.php
index d758c1b8d4d..29610e6058d 100644
--- a/tests/lib/files/mount/mountpoint.php
+++ b/tests/lib/files/mount/mountpoint.php
@@ -70,25 +70,4 @@ class MountPoint extends \Test\TestCase {
// storage wrapper never called
$this->assertFalse($called);
}
-
- public function testWrappedStorage() {
- $storage = $this->getMockBuilder('\OC\Files\Storage\Wrapper\Wrapper')
- ->disableOriginalConstructor()
- ->getMock();
-
- $loader = $this->getMock('\OCP\Files\Storage\IStorageFactory');
- $loader->expects($this->never())
- ->method('getInstance');
- $loader->expects($this->never())
- ->method('wrap');
-
- $mountPoint = new \OC\Files\Mount\MountPoint(
- $storage,
- '/mountpoint',
- null,
- $loader
- );
-
- $this->assertEquals($storage, $mountPoint->getStorage());
- }
}