Skip to content
Snippets Groups Projects
Commit 04326095 authored by Regis Houssin's avatar Regis Houssin
Browse files

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

parent 33bf3207
No related branches found
No related tags found
No related merge requests found
...@@ -135,6 +135,9 @@ class CategorieTest extends PHPUnit_Framework_TestCase ...@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment