diff options
Diffstat (limited to 'tests/lib/archive/zip.php')
-rw-r--r-- | tests/lib/archive/zip.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/archive/zip.php b/tests/lib/archive/zip.php index 09ea5d7d27c..2f4c9cace1d 100644 --- a/tests/lib/archive/zip.php +++ b/tests/lib/archive/zip.php @@ -6,6 +6,8 @@ * See the COPYING-README file. */ +use OC\Archive\ZIP; + class Test_Archive_ZIP extends Test_Archive { protected function setUp() { parent::setUp(); @@ -17,10 +19,10 @@ class Test_Archive_ZIP extends Test_Archive { protected function getExisting() { $dir = OC::$SERVERROOT . '/tests/data'; - return new OC_Archive_ZIP($dir . '/data.zip'); + return new ZIP($dir . '/data.zip'); } protected function getNew() { - return new OC_Archive_ZIP(OCP\Files::tmpFile('.zip')); + return new ZIP(OCP\Files::tmpFile('.zip')); } } |