diff --git a/src/foundation/src/Testing/TestCase.php b/src/foundation/src/Testing/TestCase.php index 24f8af7df..1e22c802e 100644 --- a/src/foundation/src/Testing/TestCase.php +++ b/src/foundation/src/Testing/TestCase.php @@ -15,6 +15,7 @@ use Hypervel\Foundation\Testing\Concerns\InteractsWithTime; use Hypervel\Foundation\Testing\Concerns\MakesHttpRequests; use Hypervel\Foundation\Testing\Concerns\MocksApplicationServices; +use Hypervel\Queue\Queue; use Hypervel\Support\Facades\Facade; use Mockery; use Throwable; @@ -123,6 +124,7 @@ protected function tearDown(): void $this->flushApplication(); /* @phpstan-ignore-next-line */ Coroutine::flushAfterCreated(); + Queue::createPayloadUsing(null); } $this->afterApplicationCreatedCallbacks = [];