Fix: Use delete function instead of remove
This commit is contained in:
parent
f4d1d35017
commit
7aa295b474
@ -235,7 +235,7 @@ class CategorieTest extends PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
$localobject=new Categorie($this->savdb);
|
$localobject=new Categorie($this->savdb);
|
||||||
$result=$localobject->fetch($id);
|
$result=$localobject->fetch($id);
|
||||||
$result=$localobject->remove($id);
|
$result=$localobject->delete($id);
|
||||||
|
|
||||||
print __METHOD__." id=".$id." result=".$result."\n";
|
print __METHOD__." id=".$id." result=".$result."\n";
|
||||||
$this->assertLessThan($result, 0);
|
$this->assertLessThan($result, 0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user