fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use App\Models\User;
|
||||
@@ -31,7 +32,7 @@ final class IvaSpecialRegimeDraftTest extends TestCase
|
||||
$this->assertSame('2026-12', $book['result']['periods'][0]['period']);
|
||||
$this->assertSame('600.00', $book['result']['periods'][0]['fields']['05']);
|
||||
$this->assertCount(6, $book['rows']);
|
||||
$this->assertSame(['economic_zone','customs_warehouse','free_zone','duty_free_shop','transit','temporary_import'], array_column($book['rows'], 'specialRegime'));
|
||||
$this->assertSame(['economic_zone', 'customs_warehouse', 'free_zone', 'duty_free_shop', 'transit', 'temporary_import'], array_column($book['rows'], 'specialRegime'));
|
||||
foreach ($book['result']['rows'] as $row) {
|
||||
$this->assertSame('05', $row['field']);
|
||||
$this->assertSame('0.00', $row['vat']);
|
||||
|
||||
Reference in New Issue
Block a user