. * */ namespace Test\Files\Storage; class MappedLocalWithDottedDataDir extends Storage { /** * @var string tmpDir */ private $tmpDir; public function setUp() { $this->tmpDir = \OC_Helper::tmpFolder().'dir.123'.DIRECTORY_SEPARATOR; $this->instance=new \OC\Files\Storage\MappedLocal(array('datadir'=>$this->tmpDir)); } public function tearDown() { \OC_Helper::rmdirr($this->tmpDir); unset($this->instance); } }