Update UserTest.php
This commit is contained in:
parent
630a150b09
commit
2da87bcdc7
@ -192,7 +192,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','ref','pass','pass_indatabase','pass_indatabase_crypted','datec','datem','datelastlogin','datepreviouslogin')), array()); // Actual, Expected
|
||||
$this->assertEquals($this->objCompare($localobject, $newlocalobject, true, array('id','ref','pass','pass_indatabase','pass_indatabase_crypted','datec','datem','datelastlogin','datepreviouslogin')), array()); // Actual, Expected
|
||||
|
||||
return $localobject;
|
||||
}
|
||||
@ -304,7 +304,7 @@ class UserTest extends PHPUnit\Framework\TestCase
|
||||
/**
|
||||
* Edit an object to test updates
|
||||
*
|
||||
* @param mixed $localobject Object Facture
|
||||
* @param mixed $localobject Object User
|
||||
* @return void
|
||||
*/
|
||||
public function changeProperties(&$localobject)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user