From 16eef230a37dda94845637b3d8f64fe04291e2cb Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Sun, 18 Feb 2024 14:19:05 +0100 Subject: [PATCH] use RefreshDatabase --- tests/Feature/NameTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Feature/NameTest.php b/tests/Feature/NameTest.php index b8eff4f..5b3e633 100644 --- a/tests/Feature/NameTest.php +++ b/tests/Feature/NameTest.php @@ -2,14 +2,14 @@ namespace Tests\Feature; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Support\Str; use PHPUnit\Framework\Attributes\Test; use Tests\TestCase; class NameTest extends TestCase { - use DatabaseTransactions; + use RefreshDatabase; #[Test] public function name_screen_can_be_rendered(): void