Skip to content

Commit

Permalink
skip test for php8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Jan 8, 2025
1 parent 00325ee commit 601c4b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/Mage/Rule/Model/AbstractTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

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

use Composer\InstalledVersions;
use Error;
use Mage;
use Mage_Core_Exception;
Expand Down Expand Up @@ -134,6 +135,9 @@ public function testValidate($expectedResul, ?array $data = null): void
*/
public function testValidateData($expectedResul, ?array $data = null): void
{
if (PHP_VERSION_ID >= 80300 && version_compare(InstalledVersions::getPrettyVersion('shardj/zf1-future'), '1.24.2', '<=')) {
$this->markTestSkipped();
}
$object = new Varien_Object($data);
$this->assertSame($expectedResul, $this->subject->validateData($object));
}
Expand Down

0 comments on commit 601c4b0

Please sign in to comment.