Skip to content

Commit 3279d53

Browse files
Fix: Automatically run migrations for tests.
1 parent 5c9759c commit 3279d53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Unit/_aCoreUITest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
use Tests\TestCase;
66
use Illuminate\Foundation\Testing\WithFaker;
77
use Illuminate\Foundation\Testing\RefreshDatabase;
8+
use Illuminate\Foundation\Testing\DatabaseMigrations;
89
use Spatie\Permission\Models\Role;
910

1011
class _aCoreUITest extends TestCase
1112
{
13+
use DatabaseMigrations;
14+
1215
public function setUp() :void {
1316
parent::setUp();
1417
}

0 commit comments

Comments
 (0)