Fix phpunit

This commit is contained in:
Laurent Destailleur 2021-03-16 12:40:20 +01:00
parent 9a474602a8
commit ceba8146c6

View File

@ -183,7 +183,7 @@ class CommandeFournisseurTest extends PHPUnit\Framework\TestCase
print __METHOD__." result=".$result."\n";
$this->assertEquals(-1, $result, 'Creation of too low quantity'); // must be -1 because quantity is lower than minimum of supplier price
$sql="DELETE FROM ".MAIN_DB_PREFIX."commande_fournisseur where ref=''";
$sql="DELETE FROM ".MAIN_DB_PREFIX."commande_fournisseur where ref IN ('', '(PROV)')";
$db->query($sql);
// Create purchase order