diff --git a/test/phpunit/CategorieTest.php b/test/phpunit/CategorieTest.php index bdc362efe31a69d2c9ce9cd0da7ae80dbd0923ce..cb2e7bc23880663f9cb3b69625c71af1955b928b 100755 --- a/test/phpunit/CategorieTest.php +++ b/test/phpunit/CategorieTest.php @@ -132,13 +132,13 @@ class CategorieTest extends PHPUnit_Framework_TestCase // We create category $result=$localobject->create($user); - $this->assertGreaterThan(0, $result); print __METHOD__." result=".$result."\n"; + $this->assertGreaterThan(0, $result); // We try to create same category again $result=$localobject->create($user); - $this->assertEquals(-4, $result); print __METHOD__." result=".$result."\n"; + $this->assertEquals(-4, $result); return $result; @@ -203,9 +203,9 @@ class CategorieTest extends PHPUnit_Framework_TestCase $localobject=new Categorie($this->savdb); $result=$localobject->fetch($id); - - $this->assertGreaterThan(0, $result); + print __METHOD__." id=".$id." result=".$result."\n"; + $this->assertGreaterThan(0, $result); return $localobject; }