1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-06 15:36:28 +02:00

refactoring

This commit is contained in:
wapplay
2019-12-06 08:32:33 +03:00
parent c0786f5947
commit e03c963dc1
7 changed files with 36 additions and 15 deletions

View File

@@ -133,10 +133,10 @@ class PhpZipExtResourceTest extends ZipTestCase
static::assertTrue(mkdir($this->outputDirname, 0755, true));
$zipFile = new ZipFile();
$zipFile->openFile($filename);
$zipFile->setReadPassword('bar');
try {
$zipFile->openFile($filename);
$zipFile->setReadPassword('bar');
$zipFile->extractTo($this->outputDirname);
static::markTestIncomplete('failed test');
} catch (ZipException $exception) {