diff --git a/test/phpunit/CategorieTest.php b/test/phpunit/CategorieTest.php
index 8ac54d0b953dd50501300b185697b13a9d026cf8..151bac89e4b518517e23a316fda97306fa68d856 100755
--- a/test/phpunit/CategorieTest.php
+++ b/test/phpunit/CategorieTest.php
@@ -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);