mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Switch to using LazilyRefreshDatabase in unit test suite
This commit is contained in:
parent
75fc624ec6
commit
45d7e9b134
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue