Switch to using LazilyRefreshDatabase in unit test suite
This commit is contained in:
@@ -5,6 +5,7 @@ use App\Models\User;
|
||||
use App\Models\Setting;
|
||||
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
|
||||
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
||||
use Tests\TestCase;
|
||||
use Auth;
|
||||
@@ -12,7 +13,7 @@ use Artisan;
|
||||
|
||||
abstract class BaseTest extends TestCase
|
||||
{
|
||||
use DatabaseTransactions;
|
||||
use LazilyRefreshDatabase;
|
||||
|
||||
protected function _before()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user