Skip to content

Commit 9866471

Browse files
committed
unit test fix
1 parent f956559 commit 9866471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ErrorHandlerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ public function testThrowErrorException()
595595
$trace = $e->getTrace();
596596
self::assertSame($errorVals['file'], $trace[1]['file']);
597597
self::assertSame($backtraceLine, $trace[1]['line']);
598-
PHP_VERSION_ID >= 70000 && PHP_VERSION_ID < 80300
598+
PHP_VERSION_ID >= 70000
599599
? self::assertSame('bdk\\ErrorHandlerTests\\ErrorHandlerTest->raiseError', $trace[1]['function'])
600600
: self::assertSame('bdk\\ErrorHandlerTests\\TestBase->raiseError', $trace[1]['function']);
601601
self::assertSame(__CLASS__ . '->' . __FUNCTION__, $trace[2]['function']);

0 commit comments

Comments
 (0)