mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-01 13:10:09 +02:00
Skipped some tests for php 32-bit platform.
This commit is contained in:
@@ -174,6 +174,10 @@ class ZipPasswordTest extends ZipFileAddDirTest
|
|||||||
|
|
||||||
public function testEncryptionEntries()
|
public function testEncryptionEntries()
|
||||||
{
|
{
|
||||||
|
if (PHP_INT_SIZE === 4) {
|
||||||
|
$this->markTestSkipped('Skip test for 32-bit system. Not support Traditional PKWARE Encryption.');
|
||||||
|
}
|
||||||
|
|
||||||
$password1 = '353442434235424234';
|
$password1 = '353442434235424234';
|
||||||
$password2 = 'adgerhvrwjhqqehtqhkbqrgewg';
|
$password2 = 'adgerhvrwjhqqehtqhkbqrgewg';
|
||||||
|
|
||||||
@@ -210,6 +214,10 @@ class ZipPasswordTest extends ZipFileAddDirTest
|
|||||||
|
|
||||||
public function testEncryptionEntriesWithDefaultPassword()
|
public function testEncryptionEntriesWithDefaultPassword()
|
||||||
{
|
{
|
||||||
|
if (PHP_INT_SIZE === 4) {
|
||||||
|
$this->markTestSkipped('Skip test for 32-bit system. Not support Traditional PKWARE Encryption.');
|
||||||
|
}
|
||||||
|
|
||||||
$password1 = '353442434235424234';
|
$password1 = '353442434235424234';
|
||||||
$password2 = 'adgerhvrwjhqqehtqhkbqrgewg';
|
$password2 = 'adgerhvrwjhqqehtqhkbqrgewg';
|
||||||
$defaultPassword = ' f f f f f ffff f5 ';
|
$defaultPassword = ' f f f f f ffff f5 ';
|
||||||
|
Reference in New Issue
Block a user