Update doc/test

This commit is contained in:
Laurent Destailleur 2017-10-18 12:09:11 +02:00
parent 66538c7c0f
commit 8e4cb2ea79
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ Following changes may create regressions for some external modules, but were nec
* The trigger ORDER_SUPPLIER_STATUS_ONPROCESS was renamed into ORDER_SUPPLIER_STATUS_ORDERED
* The trigger ORDER_SUPPLIER_STATUS_RECEIVED_ALL was renamed into ORDER_SUPPLIER_STATUS_RECEIVED_COMPLETELY
* The parameter note into method cloture() is added at end of private note (previously in v6, it replaced)
* The parameter $user is now mandatory for method createFromOrder and createFromPropal.
***** ChangeLog for 6.0.2 compared to 6.0.1 *****

View File

@ -172,7 +172,7 @@ class BuildDocTest extends PHPUnit_Framework_TestCase
$localobjectcom->initAsSpecimen();
$localobject=new Facture($this->savdb);
$localobject->createFromOrder($localobjectcom);
$localobject->createFromOrder($localobjectcom, $user);
$localobject->date_lim_reglement = dol_now() + 3600 * 24 *30;
// Crabe (english)