From 702a6bb750ae8acb818d31ad827591970a136f10 Mon Sep 17 00:00:00 2001 From: MartinOscar <40749467+rmartinoscar@users.noreply.github.com> Date: Sat, 12 Apr 2025 16:44:46 +0200 Subject: [PATCH] Restore `exception_handler` & `error_handler` for Tests (#1239) --- tests/TestCase.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TestCase.php b/tests/TestCase.php index d789400e3..ac07330fb 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -42,6 +42,9 @@ abstract class TestCase extends BaseTestCase */ protected function tearDown(): void { + restore_exception_handler(); + restore_error_handler(); + parent::tearDown(); Carbon::setTestNow();