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 IvaExportBeneficiaryDraftTest 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(['export_nonresident_buyer','export_diplomatic_mission','export_international_organisation','export_humanitarian_organisation'], array_column($book['rows'], 'treatment'));
|
||||
$this->assertSame(['export_nonresident_buyer', 'export_diplomatic_mission', 'export_international_organisation', 'export_humanitarian_organisation'], array_column($book['rows'], 'treatment'));
|
||||
foreach ($book['result']['rows'] as $row) {
|
||||
$this->assertSame('05', $row['field']);
|
||||
$this->assertSame('0.00', $row['vat']);
|
||||
|
||||
Reference in New Issue
Block a user