Fix phpunit
This commit is contained in:
parent
fce9fea099
commit
a27fc22728
@ -241,7 +241,7 @@ class FactureTest extends PHPUnit\Framework\TestCase
|
||||
'ref','statut','paye','specimen','ref','actiontypecode','actionmsg2','actionmsg','mode_reglement','cond_reglement',
|
||||
'cond_reglement_doc','situation_cycle_ref','situation_counter','situation_final','multicurrency_total_ht','multicurrency_total_tva',
|
||||
'multicurrency_total_ttc','fk_multicurrency','multicurrency_code','multicurrency_tx',
|
||||
'retained_warranty' ,'retained_warranty_date_limit', 'retained_warranty_fk_cond_reglement'
|
||||
'retained_warranty' ,'retained_warranty_date_limit', 'retained_warranty_fk_cond_reglement', 'specimen'
|
||||
)
|
||||
);
|
||||
$this->assertEquals($arraywithdiff, array()); // Actual, Expected
|
||||
|
||||
@ -200,7 +200,7 @@ class UserTest extends PHPUnit\Framework\TestCase
|
||||
$newlocalobject=new User($this->savdb);
|
||||
$newlocalobject->initAsSpecimen();
|
||||
$this->changeProperties($newlocalobject);
|
||||
$this->assertEquals($this->objCompare($localobject, $newlocalobject, true, array('id','socid','societe_id','note','ref','pass','pass_indatabase','pass_indatabase_crypted','datec','datem','datelastlogin','datepreviouslogin')), array()); // Actual, Expected
|
||||
$this->assertEquals($this->objCompare($localobject, $newlocalobject, true, array('id','socid','societe_id','specimen','note','ref','pass','pass_indatabase','pass_indatabase_crypted','datec','datem','datelastlogin','datepreviouslogin')), array()); // Actual, Expected
|
||||
|
||||
return $localobject;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user