Skip to content

Commit 45d4b56

Browse files
committed
Fixed ErrorComponentTest::testPhpErrorUncaughtException on PHP 7.*
1 parent 2af4ddb commit 45d4b56

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/ElasticApmTests/ComponentTests/ErrorComponentTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ function (AppCodeRequestParams $appCodeRequestParams): void {
408408

409409
self::assertNotNull($err->exception->message);
410410
self::assertStringContainsString(APP_CODE_FOR_TEST_PHP_ERROR_UNCAUGHT_EXCEPTION_MESSAGE, $err->exception->message);
411-
self::assertNull($err->exception->type);
412411
self::assertNotNull($err->exception->stacktrace);
413412
self::assertCount(0, $err->exception->stacktrace);
414413
}

0 commit comments

Comments
 (0)