From cb72ca5571f98677465546c06c40c164105e4b5a Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sat, 30 Mar 2019 12:53:40 +0800 Subject: [PATCH] Fix test --- tests/ReportControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ReportControllerTest.php b/tests/ReportControllerTest.php index cd610d8e..3f5267ab 100644 --- a/tests/ReportControllerTest.php +++ b/tests/ReportControllerTest.php @@ -5,11 +5,11 @@ namespace Tests; use App\Models\User; use App\Models\Report; use App\Models\Texture; -use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Foundation\Testing\DatabaseTransactions; class ReportControllerTest extends TestCase { - use RefreshDatabase; + use DatabaseTransactions; public function testSubmit() {