diff options
Diffstat (limited to 'tests/lib/archive/zip.php')
-rw-r--r-- | tests/lib/archive/zip.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/archive/zip.php b/tests/lib/archive/zip.php index b61d8aeac2c..a7682e34180 100644 --- a/tests/lib/archive/zip.php +++ b/tests/lib/archive/zip.php @@ -8,14 +8,14 @@ require_once 'archive.php'; -if(is_dir(OC::$SERVERROOT.'/apps/files_archive/tests/data')){ +if(is_dir(OC::$SERVERROOT.'/apps/files_archive/tests/data')) { class Test_Archive_ZIP extends Test_Archive{ - protected function getExisting(){ + protected function getExisting() { $dir=OC::$SERVERROOT.'/apps/files_archive/tests/data'; return new OC_Archive_ZIP($dir.'/data.zip'); } - protected function getNew(){ + protected function getNew() { return new OC_Archive_ZIP(OCP\Files::tmpFile('.zip')); } } |