From 84f816367774c6d0a46069c83df6fb7cab937e64 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Wed, 18 Dec 2024 18:14:45 +0000 Subject: [PATCH] wip --- tests/TestCase.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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