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

@@ -12,14 +12,14 @@ use App\Models\Permission;
use App\Models\Province;
use App\Models\User;
use App\Services\NominatimService;
use Illuminate\Foundation\Testing\DatabaseTruncation;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Http\UploadedFile;
use Mockery\MockInterface;
use Tests\TestCase;
class StoreTest extends TestCase
{
use DatabaseTruncation;
use RefreshDatabase;
/**
* A basic feature test example.
*/