Prepare L3 D refund lifecycle and grouped C D QA delivery with preserved credits

This commit is contained in:
2026-10-25 14:47:03 +02:00
parent b7a745e64f
commit 9e2d90c880
17 changed files with 466 additions and 13 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ final class IvaImportSuppliesDraftTest extends TestCase
$this->assertSame(55441, (int) $target->port);
config(['investor-path.enabled' => true, 'suitecrm.enabled' => false]);
$this->actingAs(User::factory()->create(['email_verified_at' => now()]));
$snapshot = json_encode(['padding' => str_repeat('x', 4000000)], JSON_THROW_ON_ERROR);
$snapshot = json_encode(['padding' => str_repeat('x', 6000000)], JSON_THROW_ON_ERROR);
$this->postJson('/api/v1/simulation-drafts', ['personal_snapshot' => [], 'economic_snapshot' => ['modelo_a_snapshot' => $snapshot]], ['Idempotency-Key' => (string) Str::uuid()])
->assertUnprocessable()->assertJsonValidationErrors('economic_snapshot.modelo_a_snapshot');
}