Fix: add test
This commit is contained in:
parent
7508974cbb
commit
0f3f822e3d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user