summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/files/storage/wrapper/wrapper.php2
-rw-r--r--tests/lib/files/mount/mount.php4
-rw-r--r--tests/lib/files/storage/wrapper.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/files/storage/wrapper/wrapper.php b/lib/files/storage/wrapper/wrapper.php
index 802c8ea0492..4feb0520f12 100644
--- a/lib/files/storage/wrapper/wrapper.php
+++ b/lib/files/storage/wrapper/wrapper.php
@@ -8,7 +8,7 @@
namespace OC\Files\Storage\Wrapper;
-class Wrapper implements Storage {
+class Wrapper implements \OC\Files\Storage\Storage {
/**
* @var \OC\Files\Storage\Storage $storage
*/
diff --git a/tests/lib/files/mount/mount.php b/tests/lib/files/mount/mount.php
index aa98db856f4..b057204ad35 100644
--- a/tests/lib/files/mount/mount.php
+++ b/tests/lib/files/mount/mount.php
@@ -10,7 +10,7 @@ namespace Test\Files\Mount;
use OC\Files\Storage\Loader;
-use OC\Files\Storage\Wrapper;
+use OC\Files\Storage\Wrapper\Wrapper;
class Mount extends \PHPUnit_Framework_TestCase {
public function testFromStorageObject() {
@@ -41,6 +41,6 @@ class Mount extends \PHPUnit_Framework_TestCase {
->disableOriginalConstructor()
->getMock();
$mount = new \OC\Files\Mount\Mount($storage, '/foo', array(), $loader);
- $this->assertInstanceOf('\OC\Files\Storage\Wrapper', $mount->getStorage());
+ $this->assertInstanceOf('\OC\Files\Storage\Wrapper\Wrapper', $mount->getStorage());
}
}
diff --git a/tests/lib/files/storage/wrapper.php b/tests/lib/files/storage/wrapper.php
index 8452949a723..2794a0a6263 100644
--- a/tests/lib/files/storage/wrapper.php
+++ b/tests/lib/files/storage/wrapper.php
@@ -17,7 +17,7 @@ class Wrapper extends Storage {
public function setUp() {
$this->tmpDir = \OC_Helper::tmpFolder();
$storage = new \OC\Files\Storage\Local(array('datadir' => $this->tmpDir));
- $this->instance = new \OC\Files\Storage\Wrapper(array('storage' => $storage));
+ $this->instance = new \OC\Files\Storage\Wrapper\Wrapper(array('storage' => $storage));
}
public function tearDown() {