Fix: unset $this->id for good check test
This commit is contained in:
parent
33bf32073f
commit
0432609502
@ -135,6 +135,9 @@ class CategorieTest extends PHPUnit_Framework_TestCase
|
|||||||
print __METHOD__." result=".$result."\n";
|
print __METHOD__." result=".$result."\n";
|
||||||
$this->assertGreaterThan(0, $result);
|
$this->assertGreaterThan(0, $result);
|
||||||
|
|
||||||
|
// Unset $this->id for good check test
|
||||||
|
unset($localobject->id);
|
||||||
|
|
||||||
// We check if exist
|
// We check if exist
|
||||||
$result=$localobject->already_exists();
|
$result=$localobject->already_exists();
|
||||||
print __METHOD__." result=".$result."\n";
|
print __METHOD__." result=".$result."\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user