diff --git a/tests/TestCase.php b/tests/TestCase.php index 8d4e930..ccc03d3 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -13,6 +13,13 @@ abstract class TestCase extends AddonTestCase { protected string $addonServiceProvider = ServiceProvider::class; + public function setUp(): void + { + parent::setUp(); + + $this->withoutExceptionHandling(); + } + protected function getEnvironmentSetUp($app) { parent::getEnvironmentSetUp($app); @@ -27,8 +34,6 @@ protected function getEnvironmentSetUp($app) ]); $app['config']->set('queue.batching.database', 'testing'); - - $this->withoutExceptionHandling(); } protected function setSites($sites): void