From 5442bbf5ce143370097425807b3f84c27fd7b007 Mon Sep 17 00:00:00 2001 From: Arthur Monney Date: Sat, 17 Aug 2024 13:45:36 +0200 Subject: [PATCH] chore: Add WithMigration Attribute on TestCase --- tests/src/TestCase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/src/TestCase.php b/tests/src/TestCase.php index fe9a2fa31..fb38f277f 100755 --- a/tests/src/TestCase.php +++ b/tests/src/TestCase.php @@ -14,6 +14,7 @@ use Illuminate\Foundation\Testing\RefreshDatabase; use Livewire\LivewireServiceProvider; use Mckenziearts\BladeUntitledUIIcons\BladeUntitledUIIconsServiceProvider; +use Orchestra\Testbench\Attributes\WithMigration; use Orchestra\Testbench\Concerns\WithWorkbench; use Orchestra\Testbench\TestCase as BaseTestCase; use Shopper\Core\CoreServiceProvider; @@ -26,6 +27,7 @@ use Spatie\Permission\PermissionServiceProvider; use TailwindMerge\Laravel\TailwindMergeServiceProvider; +#[WithMigration] abstract class TestCase extends BaseTestCase { use RefreshDatabase;