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