diff --git a/tests/Autoload/CommandTest.php b/tests/Autoload/CommandTest.php index 4d0c308..f6032ff 100644 --- a/tests/Autoload/CommandTest.php +++ b/tests/Autoload/CommandTest.php @@ -17,6 +17,8 @@ ]; $this->setupTestApplication(); + + Artisan::call('optimize:clear'); }); afterEach(function () { diff --git a/tests/Autoload/FactoryTest.php b/tests/Autoload/FactoryTest.php index 912fe31..6b76d17 100644 --- a/tests/Autoload/FactoryTest.php +++ b/tests/Autoload/FactoryTest.php @@ -10,6 +10,7 @@ beforeEach(function () { $this->setupTestApplication(); + Artisan::call('optimize:clear'); }); afterEach(function () { diff --git a/tests/Autoload/IgnoreTest.php b/tests/Autoload/IgnoreTest.php index de0dc54..84d1093 100644 --- a/tests/Autoload/IgnoreTest.php +++ b/tests/Autoload/IgnoreTest.php @@ -24,7 +24,9 @@ ]; $this->setupTestApplication(); -})->skip(); + + Artisan::call('optimize:clear'); +}); afterEach(function () { DomainCache::clear(); diff --git a/tests/Autoload/PolicyTest.php b/tests/Autoload/PolicyTest.php index d95aa81..1ee2855 100644 --- a/tests/Autoload/PolicyTest.php +++ b/tests/Autoload/PolicyTest.php @@ -1,5 +1,6 @@ setupTestApplication(); + + Artisan::call('optimize:clear'); }); afterEach(function () { diff --git a/tests/Autoload/ProviderTest.php b/tests/Autoload/ProviderTest.php index abaae05..1abb8b0 100644 --- a/tests/Autoload/ProviderTest.php +++ b/tests/Autoload/ProviderTest.php @@ -1,5 +1,6 @@ setupTestApplication(); + + Artisan::call('optimize:clear'); }); afterEach(function () {