Skip to content

Commit e6f0ba3

Browse files
authored
Unsets handlers (#44307)
1 parent 8fefd80 commit e6f0ba3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Illuminate/Foundation/Testing/TestCase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ protected function tearDown(): void
217217
$this->afterApplicationCreatedCallbacks = [];
218218
$this->beforeApplicationDestroyedCallbacks = [];
219219

220+
$this->originalExceptionHandler = null;
221+
$this->originalDeprecationHandler = null;
222+
220223
Artisan::forgetBootstrappers();
221224
Queue::createPayloadUsing(null);
222225
HandleExceptions::forgetApp();

0 commit comments

Comments
 (0)