Browse Source

update example unit test to use RefreshDatabase trait

Marcus Moore 2 years ago
parent
commit
faa3d2fa34
1 changed files with 1 additions and 2 deletions
  1. 1 2
      tests/Unit/ExampleTest.php

+ 1 - 2
tests/Unit/ExampleTest.php

@@ -3,8 +3,7 @@
 namespace Tests\Unit;
 
 use Tests\TestCase;
-use Illuminate\Foundation\Testing\DatabaseMigrations;
-use Illuminate\Foundation\Testing\DatabaseTransactions;
+use Illuminate\Foundation\Testing\RefreshDatabase;
 
 class ExampleTest extends TestCase
 {