From: Robin Appelman Date: Tue, 2 Jul 2013 15:58:21 +0000 (+0200) Subject: move storage wrapper test to new namespace X-Git-Tag: v6.0.0alpha2~290^2~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a853968f7dddcbb18e815f0323ed3046e048e4b1;p=nextcloud-server.git move storage wrapper test to new namespace --- diff --git a/tests/lib/files/storage/wrapper.php b/tests/lib/files/storage/wrapper.php deleted file mode 100644 index 2794a0a6263..00000000000 --- a/tests/lib/files/storage/wrapper.php +++ /dev/null @@ -1,26 +0,0 @@ - - * This file is licensed under the Affero General Public License version 3 or - * later. - * See the COPYING-README file. - */ - -namespace Test\Files\Storage; - -class Wrapper extends Storage { - /** - * @var string tmpDir - */ - private $tmpDir; - - 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\Wrapper(array('storage' => $storage)); - } - - public function tearDown() { - \OC_Helper::rmdirr($this->tmpDir); - } -} diff --git a/tests/lib/files/storage/wrapper/wrapper.php b/tests/lib/files/storage/wrapper/wrapper.php new file mode 100644 index 00000000000..e31abfc7324 --- /dev/null +++ b/tests/lib/files/storage/wrapper/wrapper.php @@ -0,0 +1,26 @@ + + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace Test\Files\Storage\Wrapper; + +class Wrapper extends \Test\Files\Storage\Storage { + /** + * @var string tmpDir + */ + private $tmpDir; + + 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\Wrapper(array('storage' => $storage)); + } + + public function tearDown() { + \OC_Helper::rmdirr($this->tmpDir); + } +}