2
0
forked from Wavyzz/dolibarr

Fix params in phpunit

This commit is contained in:
Laurent Destailleur
2023-11-28 15:35:31 +01:00
parent 56e8872ddc
commit 955ecd1c16
6 changed files with 6 additions and 32 deletions

View File

@@ -405,7 +405,7 @@ class ReceptionTest extends PHPUnit\Framework\TestCase
$this->assertLessThanOrEqual($result, 0);
$soc = new Societe($db);
$result = $soc->delete($localobject->socid);
$result = $soc->delete($localobject->socid, $user);
$this->assertLessThanOrEqual($result, 0);
return $result;