Switch to using LazilyRefreshDatabase in unit test suite

This commit is contained in:
Marcus Moore 2023-03-02 13:13:30 -08:00
parent 75fc624ec6
commit 45d7e9b134
No known key found for this signature in database

View file

@ -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()
{