From e9c1723f8d4da166f423554f7bf88e57a4e12afb Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Sat, 12 Mar 2016 11:39:21 +0100
Subject: [PATCH] Fix phpunit tests

---
 test/phpunit/BankAccountTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/phpunit/BankAccountTest.php b/test/phpunit/BankAccountTest.php
index 7c59571464c..a212ff0317a 100644
--- a/test/phpunit/BankAccountTest.php
+++ b/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);
-- 
GitLab