use RefreshDataBase and DB::transaction

This commit is contained in:
2024-04-16 13:15:46 +03:30
parent da8af2f931
commit 9f8855e836
19 changed files with 178 additions and 172 deletions

View File

@@ -11,12 +11,12 @@ use App\Models\ObservedItem;
use App\Models\Permission;
use App\Models\RoadPatrol;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseTruncation;
use Illuminate\Foundation\Testing\RefreshDataBase;
use Tests\TestCase;
class DeleteTest extends TestCase
{
use DatabaseTruncation;
use RefreshDataBase;
/**
* A basic feature test example.
*/