Skip to content

Commit 07d0296

Browse files
committed
fix: fix ci
1 parent 527b92a commit 07d0296

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/Pest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
*/
1616

1717
uses(TestCase::class)
18-
->use(Illuminate\Foundation\Testing\RefreshDatabase::class)
1918
->beforeEach(function () {
19+
// Run migrations to ensure all tables exist
20+
Artisan::call('migrate:fresh');
21+
2022
// Seed roles and permissions with Filament Shield plugin
2123
Artisan::call('shield:generate', [
2224
'--all' => null,

0 commit comments

Comments
 (0)