diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-06-28 18:18:12 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-06-28 18:18:12 +0200 |
commit | a7c70915d592cd3cc06c6dc86ba3d2707d000871 (patch) | |
tree | 38ed0becb6eaa986cdb5b7c770234d2c99a22285 | |
parent | 125f9f4221d4c9c1d4ae653758f2bfa6b92ed9c1 (diff) | |
download | nextcloud-server-a7c70915d592cd3cc06c6dc86ba3d2707d000871.tar.gz nextcloud-server-a7c70915d592cd3cc06c6dc86ba3d2707d000871.zip |
fix storage wrapper namespaces
-rw-r--r-- | lib/files/storage/wrapper/wrapper.php | 2 | ||||
-rw-r--r-- | tests/lib/files/mount/mount.php | 4 | ||||
-rw-r--r-- | tests/lib/files/storage/wrapper.php | 2 |
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() { |