fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use App\Models\Project;
|
||||
use App\Services\InvestmentCatalogue;
|
||||
use App\Services\InvestmentZones;
|
||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
@@ -76,7 +77,7 @@ class CatalogueSelectorReferencesTest extends TestCase
|
||||
$corridor = (string) Str::uuid();
|
||||
DB::table('development_corridors')->insert(['id' => $corridor, 'code' => 'SINT-'.Str::random(12), 'name' => 'SINTÉTICO QA corredor',
|
||||
'status' => 'active', 'data_classification' => 'public', 'primary_territory_id' => $province]);
|
||||
$project = \App\Models\Project::factory()->create(['data_classification' => 'public', 'primary_territory_id' => $province]);
|
||||
$project = Project::factory()->create(['data_classification' => 'public', 'primary_territory_id' => $province]);
|
||||
$chain = (string) Str::uuid();
|
||||
DB::table('value_chains')->insert(['id' => $chain, 'cluster_id' => $clusters['public'], 'code' => 'SINT-'.Str::random(12),
|
||||
'name' => 'SINTÉTICO QA cadeia', 'stage' => 'production', 'data_classification' => 'public']);
|
||||
|
||||
Reference in New Issue
Block a user