Fix phpunit

This commit is contained in:
Laurent Destailleur 2017-11-17 16:06:55 +01:00
parent 2705030006
commit 0be11e5e45
2 changed files with 47 additions and 45 deletions

View File

@ -114,6 +114,8 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
$societe->ref_ext='ref-phpunit';
$societe->status=1;
$societe->client=1;
$societe->code_client='CU0901-1234';
$societe->code_fournisseur='SU0901-1234';
$societe->fournisseur=0;
$societe->date_creation=$now;
$societe->tva_assuj=0;

View File

@ -168,8 +168,8 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
"status" => NULL,
"client" => 1,
"supplier" => 0,
"customer_code" => "",
"supplier_code" => "",
"customer_code" => "CU0901-5678",
"supplier_code" => "SU0901-5678",
"customer_code_accountancy" => "",
"supplier_code_accountancy" => "",
"date_creation" => "", // dateTime