Skip to content

Commit

Permalink
Fix: add country code
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Feb 17, 2012
1 parent 2f1c0b7 commit 3abc060
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/phpunit/SocieteTest.php
Expand Up @@ -266,6 +266,7 @@ public function testSocieteOther($localobject)
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);
Expand All @@ -275,6 +276,7 @@ public function testSocieteOther($localobject)
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);
Expand Down

0 comments on commit 3abc060

Please sign in to comment.