use RefreshDataBase and DB::transaction
This commit is contained in:
@@ -5,12 +5,12 @@ namespace Tests\Feature\V2\Dashboard\RoadPatrolProject;
|
||||
use App\Models\Province;
|
||||
use App\Models\RoadPatrol;
|
||||
use App\Models\User;
|
||||
use Illuminate\Foundation\Testing\DatabaseTruncation;
|
||||
use Illuminate\Foundation\Testing\RefreshDataBase;
|
||||
use Tests\TestCase;
|
||||
|
||||
class GetAllDataToMapTest extends TestCase
|
||||
{
|
||||
use DatabaseTruncation;
|
||||
use RefreshDataBase;
|
||||
/**
|
||||
* A basic feature test example.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user