fix: complete InvesteMoz validation and error corrections

This commit is contained in:
2026-10-29 21:47:33 +02:00
parent 63147312e2
commit daf8623441
718 changed files with 127308 additions and 20959 deletions
@@ -8,7 +8,6 @@ use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Crypt;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Str;
use Tests\TestCase;
class OrganizationCountryInstallationTest extends TestCase
@@ -38,8 +37,11 @@ class OrganizationCountryInstallationTest extends TestCase
private function input(): array
{
return ['hash' => $this->getJson('/management/opportunity-resources-install/organization-country')->assertOk()->json('hash'),
'confirm' => true, 'idempotency_key' => (string) Str::uuid(), 'reason' => 'Extensão sintética QA, sem contas nem preenchimento automático'];
$this->app['session']->forget('portal.country_installation_operation');
$plan = $this->getJson('/management/opportunity-resources-install/organization-country')->assertOk()->json();
return ['hash' => $plan['hash'], 'confirm' => true, 'idempotency_key' => $plan['operationKey'],
'reason' => 'Synthetic QA installation without accounts or inferred values'];
}
public function test_cold_install_requires_readiness_is_atomic_and_repetition_has_no_duplicates(): void