There was an error while loading. Please reload this page.
1 parent 527b92a commit 07d0296Copy full SHA for 07d0296
1 file changed
tests/Pest.php
@@ -15,8 +15,10 @@
15
*/
16
17
uses(TestCase::class)
18
- ->use(Illuminate\Foundation\Testing\RefreshDatabase::class)
19
->beforeEach(function () {
+ // Run migrations to ensure all tables exist
20
+ Artisan::call('migrate:fresh');
21
+
22
// Seed roles and permissions with Filament Shield plugin
23
Artisan::call('shield:generate', [
24
'--all' => null,
0 commit comments