fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -25,7 +25,9 @@ final class ModeloAAcquisitionsDraftTest extends TestCase
|
||||
$recovered = $this->getJson('/api/v1/simulation-drafts/'.$created->json('data.id'))->assertOk()->json('data.economic_snapshot');
|
||||
$this->assertSame($draft['modelo_a_snapshot'], $recovered['modelo_a_snapshot']);
|
||||
$this->assertSame($draft['context_opportunity'], $recovered['context_opportunity']);
|
||||
if (getenv('IVA_ACQUISITION_UI_RECOVERED_OUT')) file_put_contents(getenv('IVA_ACQUISITION_UI_RECOVERED_OUT'), json_encode($recovered, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE));
|
||||
if (getenv('IVA_ACQUISITION_UI_RECOVERED_OUT')) {
|
||||
file_put_contents(getenv('IVA_ACQUISITION_UI_RECOVERED_OUT'), json_encode($recovered, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE));
|
||||
}
|
||||
}
|
||||
|
||||
public function test_calculated_acquisitions_round_trip_in_private_draft_and_other_owner_cannot_read(): void
|
||||
|
||||
Reference in New Issue
Block a user