Restore exception_handler & error_handler for Tests (#1239)

This commit is contained in:
MartinOscar 2025-04-12 16:44:46 +02:00 committed by GitHub
parent 02d7ad04ad
commit 702a6bb750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,6 +42,9 @@ abstract class TestCase extends BaseTestCase
*/
protected function tearDown(): void
{
restore_exception_handler();
restore_error_handler();
parent::tearDown();
Carbon::setTestNow();