浏览代码

Fix: Travis error

Juanjo Menent 8 年之前
父节点
当前提交
e4ed626912
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      test/phpunit/FactureFournisseurTest.php

+ 2 - 1
test/phpunit/FactureFournisseurTest.php

@@ -1,5 +1,6 @@
 <?php
 /* Copyright (C) 2010 Laurent Destailleur  <eldy@users.sourceforge.net>
+ * Copyright (C) 2017 Juanjo Menent        <jmenent@2byte.es>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -259,7 +260,7 @@ class FactureFournisseurTest extends PHPUnit_Framework_TestCase
 
 		$localobject=new FactureFournisseur($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);