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