update example unit test to use RefreshDatabase trait

This commit is contained in:
Marcus Moore 2017-08-12 18:21:49 -07:00 committed by GitHub
parent be143bf2dc
commit faa3d2fa34
1 changed files with 1 additions and 2 deletions

View File

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