Task #2446 : add supplemental documents
This commit is contained in:
parent
a5bb6cfc97
commit
f621850e4a
13 changed files with 175 additions and 9 deletions
|
|
@ -129,7 +129,7 @@ class Acc_TVATest extends TestCase
|
|||
['S',true,null]
|
||||
,['Z',true,null]
|
||||
,['A',false,""]
|
||||
,['A',true,"XX"]
|
||||
,['K',true,"XX"]
|
||||
);
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue