diff --git a/test/phpunit/CategorieTest.php b/test/phpunit/CategorieTest.php index cb2e7bc2388..26ddd4bdfd5 100755 --- a/test/phpunit/CategorieTest.php +++ b/test/phpunit/CategorieTest.php @@ -133,6 +133,11 @@ class CategorieTest extends PHPUnit_Framework_TestCase // We create category $result=$localobject->create($user); print __METHOD__." result=".$result."\n"; + $this->assertGreaterThan(0, $result); + + // We check if exist + $result=$localobject->already_exists(); + print __METHOD__." result=".$result."\n"; $this->assertGreaterThan(0, $result); // We try to create same category again