Skip to content
Snippets Groups Projects
Commit a7c70915 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix storage wrapper namespaces

parent 125f9f42
No related branches found
No related tags found
No related merge requests found
......@@ -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
*/
......
......@@ -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());
}
}
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment