Task #2446 : add supplemental documents

This commit is contained in:
sparkyx 2025-12-24 11:26:13 +01:00
parent a5bb6cfc97
commit f621850e4a
13 changed files with 175 additions and 9 deletions

View file

@ -129,7 +129,7 @@ class Acc_TVATest extends TestCase
['S',true,null]
,['Z',true,null]
,['A',false,""]
,['A',true,"XX"]
,['K',true,"XX"]
);
}
/**

View file

@ -126,7 +126,7 @@ class FacturXTest extends TestCase {
$cn=\Dossier::connect();
$facturx=new \Noalyss\XMLDocument\FacturX($cn);
$a_error=$facturx->check_company_data();
$this->assertTrue(count($a_error)==10, "nb of error incorrect ".print_r($a_error,true));
$this->assertTrue(count($a_error)==8, "nb of error incorrect ".print_r($a_error,true));
}
function testCustomer_Data()

View file

@ -161,7 +161,7 @@ class InvoiceUBL21Test extends TestCase {
$ublinvoice21 = new \Noalyss\XMLDocument\InvoiceUBL21($cn);
$a_error=array();
$a_error=$ublinvoice21->check_company_data();
$this->assertTrue(count($a_error) ==8 , " nb of errors incorrect ".print_r($a_error,true));
$this->assertTrue(count($a_error) ==9 , " nb of errors incorrect ".print_r($a_error,true));
}
function testCustomer_Data() {