folder should be created :-(

This commit is contained in:
Thomas Mueller 2013-02-15 17:40:07 +01:00
parent e3ba0c3082
commit c0f3d8578a
1 changed files with 2 additions and 0 deletions

View File

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