Skip to content

Commit

Permalink
Cler cache afterEach
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperTey committed Nov 12, 2024
1 parent 9366325 commit 26b193d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Command/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

afterEach(function () {
$this->artisan('optimize:clear')->execute();

DomainCache::clear();
});

it('can cache discovered domain providers, commands, migrations', function () {
Expand Down

0 comments on commit 26b193d

Please sign in to comment.