mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-07-30 20:20:11 +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()
|
||||
{
|
||||
if (PHP_INT_SIZE === 4) {
|
||||
$this->markTestSkipped('Skip test for 32-bit system. Not support Traditional PKWARE Encryption.');
|
||||
}
|
||||
|
||||
$password1 = '353442434235424234';
|
||||
$password2 = 'adgerhvrwjhqqehtqhkbqrgewg';
|
||||
|
||||
@@ -210,6 +214,10 @@ class ZipPasswordTest extends ZipFileAddDirTest
|
||||
|
||||
public function testEncryptionEntriesWithDefaultPassword()
|
||||
{
|
||||
if (PHP_INT_SIZE === 4) {
|
||||
$this->markTestSkipped('Skip test for 32-bit system. Not support Traditional PKWARE Encryption.');
|
||||
}
|
||||
|
||||
$password1 = '353442434235424234';
|
||||
$password2 = 'adgerhvrwjhqqehtqhkbqrgewg';
|
||||
$defaultPassword = ' f f f f f ffff f5 ';
|
||||
|
Reference in New Issue
Block a user