Skip to content

Commit

Permalink
Fix 8.1 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Dec 21, 2023
1 parent 6b9a55f commit 922552e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/FnTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function testObjectNotInvoke()
$this->assertTrue(false);
} catch (PyError $error) {
$this->assertStringContainsString('zend_object is not callable', $error->getMessage());
if (PHP_VERSION_ID > 80100) {
if (PHP_VERSION_ID >= 80200) {
$this->assertStringContainsString('Invalid callback', $error->getPrevious()->getMessage());
}
$success = false;
Expand Down

0 comments on commit 922552e

Please sign in to comment.