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
+5 -1
View File
@@ -1,4 +1,5 @@
<?php
namespace Tests\Feature;
use App\Models\User;
@@ -10,6 +11,7 @@ use Tests\TestCase;
final class IvaAnnexIDraftTest extends TestCase
{
use DatabaseTransactions;
public function test_annex_i_and_explicit_continuations_recover_in_their_selected_opportunity(): void
{
$target = DB::selectOne('select current_database() as name,inet_server_port() as port');
@@ -39,6 +41,8 @@ final class IvaAnnexIDraftTest extends TestCase
foreach (json_decode($original['modelo_a_snapshot'], true)['salesOperations'] as $key => $value) {
$this->assertSame($value, $store['salesOperations'][$key]);
}
if (getenv('IVA_G2L_RECOVERED')) file_put_contents(getenv('IVA_G2L_RECOVERED'), json_encode($recovered, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE));
if (getenv('IVA_G2L_RECOVERED')) {
file_put_contents(getenv('IVA_G2L_RECOVERED'), json_encode($recovered, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE));
}
}
}