aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files/storage/local.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/files/storage/local.php')
-rw-r--r--tests/lib/files/storage/local.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/storage/local.php b/tests/lib/files/storage/local.php
index 36267dc6605..2583863b554 100644
--- a/tests/lib/files/storage/local.php
+++ b/tests/lib/files/storage/local.php
@@ -38,7 +38,7 @@ class Local extends Storage {
protected function setUp() {
parent::setUp();
- $this->tmpDir = \OC_Helper::tmpFolder();
+ $this->tmpDir = \OC::$server->getTempManager()->getTemporaryFolder();
$this->instance = new \OC\Files\Storage\Local(array('datadir' => $this->tmpDir));
}