Skip to content
Snippets Groups Projects
Commit 3abc0604 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: add country code

parent 2f1c0b76
Branches
No related tags found
No related merge requests found
......@@ -266,6 +266,7 @@ class SocieteTest extends PHPUnit_Framework_TestCase
print __METHOD__." localobject->date_creation=".$localobject->date_creation."\n";
$this->assertNotEquals($localobject->date_creation, '');
$localobject->country_code='FR';
$localobject->idprof1=493861496;
$localobject->idprof2=49386149600021;
$result=$localobject->id_prof_check(1,$localobject);
......@@ -275,6 +276,7 @@ class SocieteTest extends PHPUnit_Framework_TestCase
print __METHOD__." true idprof2 result=".$result."\n";
$this->assertLessThan($result, 0);
$localobject->country_code='FR';
$localobject->idprof1='id1ko';
$localobject->idprof2='id2ko';
$result=$localobject->id_prof_check(1,$localobject);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment