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
+2 -1
View File
@@ -1,4 +1,5 @@
<?php
namespace Tests\Feature;
use App\Models\User;
@@ -31,7 +32,7 @@ final class IvaOnboardSupplyDraftTest extends TestCase
$this->assertSame('2026-12', $book['result']['periods'][0]['period']);
$this->assertSame('400.00', $book['result']['periods'][0]['fields']['05']);
$this->assertCount(4, $book['rows']);
$this->assertSame(['provisions','fuel','beverages','cargo_products'], array_column($book['rows'], 'supplyCategory'));
$this->assertSame(['provisions', 'fuel', 'beverages', 'cargo_products'], array_column($book['rows'], 'supplyCategory'));
foreach ($book['result']['rows'] as $row) {
$this->assertSame('05', $row['field']);
$this->assertSame('0.00', $row['vat']);