Skip to content

Commit c56f6f8

Browse files
committed
skip test for php8.3
- ref Shardj/zf1-future#465
1 parent 00325ee commit c56f6f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/unit/Mage/Rule/Model/AbstractTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
namespace OpenMage\Tests\Unit\Mage\Rule\Model;
1919

20+
use Composer\InstalledVersions;
2021
use Error;
2122
use Mage;
2223
use Mage_Core_Exception;
@@ -134,6 +135,9 @@ public function testValidate($expectedResul, ?array $data = null): void
134135
*/
135136
public function testValidateData($expectedResul, ?array $data = null): void
136137
{
138+
if (PHP_VERSION_ID >= 80000 && version_compare(InstalledVersions::getPrettyVersion('shardj/zf1-future'), '1.24.2', '<=')) {
139+
$this->markTestSkipped();
140+
}
137141
$object = new Varien_Object($data);
138142
$this->assertSame($expectedResul, $this->subject->validateData($object));
139143
}

0 commit comments

Comments
 (0)