Browse Source

folder should be created :-(

remotes/origin/stable5
Thomas Mueller 13 years ago
parent
commit
c0f3d8578a
  1. 2
      tests/lib/files/storage/mappedlocalwithdotteddatadir.php

2
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));
}

Loading…
Cancel
Save