mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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";
|
||||
$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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user