Fix phpunit
This commit is contained in:
parent
2705030006
commit
0be11e5e45
@ -114,6 +114,8 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
|
|||||||
$societe->ref_ext='ref-phpunit';
|
$societe->ref_ext='ref-phpunit';
|
||||||
$societe->status=1;
|
$societe->status=1;
|
||||||
$societe->client=1;
|
$societe->client=1;
|
||||||
|
$societe->code_client='CU0901-1234';
|
||||||
|
$societe->code_fournisseur='SU0901-1234';
|
||||||
$societe->fournisseur=0;
|
$societe->fournisseur=0;
|
||||||
$societe->date_creation=$now;
|
$societe->date_creation=$now;
|
||||||
$societe->tva_assuj=0;
|
$societe->tva_assuj=0;
|
||||||
|
|||||||
@ -168,8 +168,8 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
|
|||||||
"status" => NULL,
|
"status" => NULL,
|
||||||
"client" => 1,
|
"client" => 1,
|
||||||
"supplier" => 0,
|
"supplier" => 0,
|
||||||
"customer_code" => "",
|
"customer_code" => "CU0901-5678",
|
||||||
"supplier_code" => "",
|
"supplier_code" => "SU0901-5678",
|
||||||
"customer_code_accountancy" => "",
|
"customer_code_accountancy" => "",
|
||||||
"supplier_code_accountancy" => "",
|
"supplier_code_accountancy" => "",
|
||||||
"date_creation" => "", // dateTime
|
"date_creation" => "", // dateTime
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user