summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-08-19 20:04:20 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-08-19 20:04:20 +0200
commitb3356b12883b3178a4dce78b258e7ebafd2c7c9a (patch)
tree214c1326666d660ccc67c02d2470ddb693637332 /tests
parent9dda39bf488b60376b0de8728a61e6fe9f58cdbe (diff)
parent16389270ffc36becba628002a80789acfb2eb83d (diff)
downloadnextcloud-server-b3356b12883b3178a4dce78b258e7ebafd2c7c9a.tar.gz
nextcloud-server-b3356b12883b3178a4dce78b258e7ebafd2c7c9a.zip
Merge pull request #18432 from owncloud/ext-backends.simple
Migrate simple external storage backends to new registration API [part 1]
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());
- }
}