Browse Source

Fix phpunit tests

Laurent Destailleur 9 years ago
parent
commit
e9c1723f8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/phpunit/BankAccountTest.php

+ 1 - 1
test/phpunit/BankAccountTest.php

@@ -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);