Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/files/storage/mappedlocalwithdotteddatadir.php')
-rw-r--r--tests/lib/files/storage/mappedlocalwithdotteddatadir.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/files/storage/mappedlocalwithdotteddatadir.php b/tests/lib/files/storage/mappedlocalwithdotteddatadir.php
index abd0b3d85c4..d2e5e2e97af 100644
--- a/tests/lib/files/storage/mappedlocalwithdotteddatadir.php
+++ b/tests/lib/files/storage/mappedlocalwithdotteddatadir.php
@@ -27,8 +27,10 @@ class MappedLocalWithDottedDataDir extends Storage {
* @var string tmpDir
*/
private $tmpDir;
+
public function setUp() {
$this->tmpDir = \OC_Helper::tmpFolder().'dir.123'.DIRECTORY_SEPARATOR;
+ mkdir($this->tmpDir);
$this->instance=new \OC\Files\Storage\MappedLocal(array('datadir'=>$this->tmpDir));
}