From 2f1c0b76fc249713d13daa5717df3c6f683c66a5 Mon Sep 17 00:00:00 2001 From: Regis Houssin <regis@dolibarr.fr> Date: Fri, 17 Feb 2012 08:33:00 +0100 Subject: [PATCH] Fix: add specific logs --- test/phpunit/SocieteTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/phpunit/SocieteTest.php b/test/phpunit/SocieteTest.php index 2bf78f5878c..abc754f8188 100755 --- a/test/phpunit/SocieteTest.php +++ b/test/phpunit/SocieteTest.php @@ -269,19 +269,19 @@ class SocieteTest extends PHPUnit_Framework_TestCase $localobject->idprof1=493861496; $localobject->idprof2=49386149600021; $result=$localobject->id_prof_check(1,$localobject); - print __METHOD__." result=".$result."\n"; + print __METHOD__." true idprof1 result=".$result."\n"; $this->assertLessThan($result, 0); $result=$localobject->id_prof_check(2,$localobject); - print __METHOD__." result=".$result."\n"; + print __METHOD__." true idprof2 result=".$result."\n"; $this->assertLessThan($result, 0); $localobject->idprof1='id1ko'; $localobject->idprof2='id2ko'; $result=$localobject->id_prof_check(1,$localobject); - print __METHOD__." result=".$result."\n"; + print __METHOD__." wrong idprof1 result=".$result."\n"; $this->assertGreaterThan($result, 0); $result=$localobject->id_prof_check(2,$localobject); - print __METHOD__." result=".$result."\n"; + print __METHOD__." wrong idprof2 result=".$result."\n"; $this->assertGreaterThan($result, 0); return $localobject->id; -- GitLab