Use LazilyRefreshDatabase instead of RefreshDatabase

This commit is contained in:
Marcus Moore 2023-03-07 16:43:18 -08:00
parent 8fad377114
commit 8c13a4c5c9
No known key found for this signature in database

View file

@ -5,14 +5,14 @@ namespace Tests\Feature\Api\Users;
use App\Models\Company;
use App\Models\Setting;
use App\Models\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
use Illuminate\Testing\Fluent\AssertableJson;
use Laravel\Passport\Passport;
use Tests\TestCase;
class UsersForSelectListTest extends TestCase
{
use RefreshDatabase;
use LazilyRefreshDatabase;
public function testUsersAreReturned()
{