require_once 'archive.php';
+if (!OC_Util::runningOnWindows()) {
class Test_Archive_TAR extends Test_Archive {
protected function getExisting() {
$dir = OC::$SERVERROOT . '/tests/data';
return new OC_Archive_TAR(OCP\Files::tmpFile('.tar.gz'));
}
}
+}
require_once 'archive.php';
+if (!OC_Util::runningOnWindows()) {
class Test_Archive_ZIP extends Test_Archive {
protected function getExisting() {
$dir = OC::$SERVERROOT . '/tests/data';
return new OC_Archive_ZIP(OCP\Files::tmpFile('.zip'));
}
}
+}
\ No newline at end of file