diff --git a/Tests/Unit/Error/ErrorHandlerTest.php b/Tests/Unit/Error/ErrorHandlerTest.php index 63f1deed5c..d537921e0a 100644 --- a/Tests/Unit/Error/ErrorHandlerTest.php +++ b/Tests/Unit/Error/ErrorHandlerTest.php @@ -17,6 +17,9 @@ namespace TYPO3\CMS\Core\Tests\Unit\Error; +use PHPUnit\Framework\Attributes\DataProvider; +use PHPUnit\Framework\Attributes\Test; +use PHPUnit\Framework\Attributes\WithoutErrorHandler; use Psr\Log\LoggerInterface; use Psr\Log\LoggerTrait; use Psr\Log\LogLevel; @@ -64,6 +67,9 @@ public function log($level, string|\Stringable $message, array $context = []): v }; } + #[WithoutErrorHandler] + #[Test] + #[DataProvider('errorTests')] /** * @test * @dataProvider errorTests