diff options
Diffstat (limited to 'tests/lib/files/storage/local.php')
-rw-r--r-- | tests/lib/files/storage/local.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/lib/files/storage/local.php b/tests/lib/files/storage/local.php index 490086c62f2..d2b27117c3b 100644 --- a/tests/lib/files/storage/local.php +++ b/tests/lib/files/storage/local.php @@ -28,13 +28,16 @@ class Local extends Storage { */ private $tmpDir; - public function setUp() { + protected function setUp() { + parent::setUp(); + $this->tmpDir = \OC_Helper::tmpFolder(); $this->instance = new \OC\Files\Storage\Local(array('datadir' => $this->tmpDir)); } - public function tearDown() { + protected function tearDown() { \OC_Helper::rmdirr($this->tmpDir); + parent::tearDown(); } public function testStableEtag() { |