summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/mapper.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-07 15:23:15 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-19 14:52:07 +0100
commitbb540722cd4e197bd608d9a87e4b10cf66dec5a9 (patch)
treef243bae56944c4b88b2545941a6c6de1e7321f04 /tests/lib/files/mapper.php
parent284ba5b688d7f0a9d2e1f7b9a68a7e8362be5e67 (diff)
downloadnextcloud-server-bb540722cd4e197bd608d9a87e4b10cf66dec5a9.tar.gz
nextcloud-server-bb540722cd4e197bd608d9a87e4b10cf66dec5a9.zip
Use base class to reset the file mapper
Diffstat (limited to 'tests/lib/files/mapper.php')
-rw-r--r--tests/lib/files/mapper.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/files/mapper.php b/tests/lib/files/mapper.php
index d513f3ce4b3..18161734b60 100644
--- a/tests/lib/files/mapper.php
+++ b/tests/lib/files/mapper.php
@@ -22,14 +22,15 @@
namespace Test\Files;
-class Mapper extends \PHPUnit_Framework_TestCase {
+class Mapper extends \Test\TestCase {
/**
* @var \OC\Files\Mapper
*/
private $mapper = null;
- public function setUp() {
+ protected function setUp() {
+ parent::setUp();
$this->mapper = new \OC\Files\Mapper('D:/');
}