diff --git a/tests/TestCase.php b/tests/TestCase.php index 4063b5d..eea2819 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -31,7 +31,9 @@ protected function setUp(): void ); DomainCache::clear(); + }); + $this->afterApplicationRefreshed(function () { config()->set('data.structure_caching.enabled', false); }); @@ -40,6 +42,8 @@ protected function setUp(): void }); parent::setUp(); + + config()->set('data.structure_caching.enabled', false); } protected function tearDown(): void @@ -264,6 +268,8 @@ protected function setupTestApplication() DomainCache::clear(); + config()->set('data.structure_caching.enabled', false); + return $this; }