diff options
-rw-r--r-- | tests/lib/archive/tar.php | 2 | ||||
-rw-r--r-- | tests/lib/archive/zip.php | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/archive/tar.php b/tests/lib/archive/tar.php index 51de004813a..e66a8740879 100644 --- a/tests/lib/archive/tar.php +++ b/tests/lib/archive/tar.php @@ -8,6 +8,7 @@ require_once 'archive.php'; +if (!OC_Util::runningOnWindows()) { class Test_Archive_TAR extends Test_Archive { protected function getExisting() { $dir = OC::$SERVERROOT . '/tests/data'; @@ -18,3 +19,4 @@ class Test_Archive_TAR extends Test_Archive { return new OC_Archive_TAR(OCP\Files::tmpFile('.tar.gz')); } } +} diff --git a/tests/lib/archive/zip.php b/tests/lib/archive/zip.php index adddf81ee1b..e049a899d88 100644 --- a/tests/lib/archive/zip.php +++ b/tests/lib/archive/zip.php @@ -8,6 +8,7 @@ require_once 'archive.php'; +if (!OC_Util::runningOnWindows()) { class Test_Archive_ZIP extends Test_Archive { protected function getExisting() { $dir = OC::$SERVERROOT . '/tests/data'; @@ -18,3 +19,4 @@ class Test_Archive_ZIP extends Test_Archive { return new OC_Archive_ZIP(OCP\Files::tmpFile('.zip')); } } +}
\ No newline at end of file |