mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: Use delete function instead of remove
This commit is contained in:
parent
cd51211292
commit
c9cd90b19e
|
|
@ -235,7 +235,7 @@ class CategorieTest extends PHPUnit_Framework_TestCase
|
|||
|
||||
$localobject=new Categorie($this->savdb);
|
||||
$result=$localobject->fetch($id);
|
||||
$result=$localobject->remove($id);
|
||||
$result=$localobject->delete($id);
|
||||
|
||||
print __METHOD__." id=".$id." result=".$result."\n";
|
||||
$this->assertLessThan($result, 0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user