Fix: test if equals for stop on failure

This commit is contained in:
Regis Houssin 2012-03-21 10:19:52 +01:00
parent 1aa71803ce
commit e62424294a

View File

@ -137,7 +137,7 @@ class CategorieTest extends PHPUnit_Framework_TestCase
// We try to create same category again
$result=$localobject->create($user);
$this->assertLessThan($result, -4);
$this->assertEquals($result, -4);
print __METHOD__." result=".$result."\n";