remove the archive after a testcase is done
This commit is contained in:
parent
042878a5a9
commit
23b64cd9ce
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue