1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-02 13:37:25 +02:00
This commit is contained in:
Ne-Lexa
2019-03-13 15:15:52 +03:00
parent b3277fcc5c
commit e8745e0379
4 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ class ZipAlignTest extends ZipTestCase
*/ */
public function testApkAlignedAndSetZipAlignAndReSave() public function testApkAlignedAndSetZipAlignAndReSave()
{ {
$filename = __DIR__ . '/resources/test.apk'; $filename = __DIR__ . '/resources/apk.zip';
$this->assertCorrectZipArchive($filename); $this->assertCorrectZipArchive($filename);
$result = $this->assertVerifyZipAlign($filename); $result = $this->assertVerifyZipAlign($filename);

View File

@@ -22,7 +22,7 @@ class ZipEventTest extends ZipTestCase
public function testBeforeSave() public function testBeforeSave()
{ {
$zipFile = new ZipFileExtended(); $zipFile = new ZipFileExtended();
$zipFile->openFile(__DIR__ . '/resources/test.apk'); $zipFile->openFile(__DIR__ . '/resources/apk.zip');
$this->assertTrue(isset($zipFile['META-INF/MANIFEST.MF'])); $this->assertTrue(isset($zipFile['META-INF/MANIFEST.MF']));
$this->assertTrue(isset($zipFile['META-INF/CERT.SF'])); $this->assertTrue(isset($zipFile['META-INF/CERT.SF']));
$this->assertTrue(isset($zipFile['META-INF/CERT.RSA'])); $this->assertTrue(isset($zipFile['META-INF/CERT.RSA']));

Binary file not shown.

Binary file not shown.