Fix: unset $this->id for good check test

This commit is contained in:
Regis Houssin 2012-03-21 11:24:30 +01:00
parent 33bf32073f
commit 0432609502

View File

@ -135,6 +135,9 @@ class CategorieTest extends PHPUnit_Framework_TestCase
print __METHOD__." result=".$result."\n";
$this->assertGreaterThan(0, $result);
// Unset $this->id for good check test
unset($localobject->id);
// We check if exist
$result=$localobject->already_exists();
print __METHOD__." result=".$result."\n";