Skip to content

Commit

Permalink
Add clear route caching after test
Browse files Browse the repository at this point in the history
  • Loading branch information
slavarazum committed Dec 15, 2023
1 parent 3e57403 commit 61d7b50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Unit/SystemTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

afterEach(fn () => $this->artisan('route:clear'));

it('successfully caches routes', function () {
$this->artisan('route:cache')->assertExitCode(0);
});

0 comments on commit 61d7b50

Please sign in to comment.