summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-06-28 18:18:12 +0200
committerRobin Appelman <icewind@owncloud.com>2013-06-28 18:18:12 +0200
commita7c70915d592cd3cc06c6dc86ba3d2707d000871 (patch)
tree38ed0becb6eaa986cdb5b7c770234d2c99a22285 /tests
parent125f9f4221d4c9c1d4ae653758f2bfa6b92ed9c1 (diff)
downloadnextcloud-server-a7c70915d592cd3cc06c6dc86ba3d2707d000871.tar.gz
nextcloud-server-a7c70915d592cd3cc06c6dc86ba3d2707d000871.zip
fix storage wrapper namespaces
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/mount/mount.php4
-rw-r--r--tests/lib/files/storage/wrapper.php2
2 files changed, 3 insertions, 3 deletions
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() {