1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-13 02:37:19 +02:00

Fix #22 Adding links to files, not open handles

This commit is contained in:
Ne-Lexa
2018-10-10 16:53:17 +03:00
parent ad3bac6f96
commit c863c18869
5 changed files with 77 additions and 21 deletions

View File

@@ -43,7 +43,7 @@ class ZipPasswordTest extends ZipFileAddDirTest
$zipFile[$entryName];
$this->fail("Expected Exception has not been raised.");
} catch (ZipAuthenticationException $ae) {
$this->assertNotNull($ae);
$this->assertContains('Bad password for entry', $ae->getMessage());
}
}