From e62424294a50bfc2a7fbbe1f5f03987196e03e7b Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 21 Mar 2012 10:19:52 +0100 Subject: [PATCH] Fix: test if equals for stop on failure --- test/phpunit/CategorieTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/CategorieTest.php b/test/phpunit/CategorieTest.php index f87a2c29d44..908681d6fea 100755 --- a/test/phpunit/CategorieTest.php +++ b/test/phpunit/CategorieTest.php @@ -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";