Skip to content

Commit

Permalink
Unsets handlers (#44307)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Sep 26, 2022
1 parent 8fefd80 commit e6f0ba3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Illuminate/Foundation/Testing/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ protected function tearDown(): void
$this->afterApplicationCreatedCallbacks = [];
$this->beforeApplicationDestroyedCallbacks = [];

$this->originalExceptionHandler = null;
$this->originalDeprecationHandler = null;

Artisan::forgetBootstrappers();
Queue::createPayloadUsing(null);
HandleExceptions::forgetApp();
Expand Down

0 comments on commit e6f0ba3

Please sign in to comment.