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

minor fixes, ZipEntry tests

This commit is contained in:
wapplay
2020-01-06 11:53:17 +03:00
parent 70bb598fa6
commit a16b0e7c15
21 changed files with 1906 additions and 141 deletions

View File

@@ -57,8 +57,7 @@ class ZipPasswordTest extends ZipFileSetTestCase
try {
$zipFile[$entryName];
static::fail('Expected Exception has not been raised.');
} catch (ZipAuthenticationException $ae) {
static::assertContains('Invalid password', $ae->getMessage());
} catch (ZipException $e) {
}
}