|
|
|
@ -10,9 +10,15 @@ class Test_Filestorage_Archive_Zip extends Test_FileStorage { |
|
|
|
/** |
|
|
|
* @var string tmpDir |
|
|
|
*/ |
|
|
|
private $tmpFile; |
|
|
|
|
|
|
|
public function setUp(){ |
|
|
|
$tmpFile=OC_Helper::tmpFile('.zip'); |
|
|
|
$this->instance=new OC_Filestorage_Archive(array('archive'=>$tmpFile)); |
|
|
|
$this->tmpFile=OC_Helper::tmpFile('.zip'); |
|
|
|
$this->instance=new OC_Filestorage_Archive(array('archive'=>$this->tmpFile)); |
|
|
|
} |
|
|
|
|
|
|
|
public function tearDown(){ |
|
|
|
unlink($this->tmpFile); |
|
|
|
} |
|
|
|
} |
|
|
|
|