|
@@ -214,7 +214,7 @@ class BankAccountTest extends PHPUnit_Framework_TestCase
|
|
|
|
|
|
$localobject=new Account($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);
|