mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix: bad parameters, use global
This commit is contained in:
@@ -234,7 +234,7 @@ class ContratTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$localobject=new Contrat($this->savdb);
|
||||
$result=$localobject->fetch($id);
|
||||
$result=$localobject->delete($id);
|
||||
$result=$localobject->delete($user);
|
||||
|
||||
print __METHOD__." id=".$id." result=".$result."\n";
|
||||
$this->assertLessThan($result, 0);
|
||||
|
||||
Reference in New Issue
Block a user