2
0
forked from Wavyzz/dolibarr

Fix bad test

This commit is contained in:
Laurent Destailleur
2021-05-12 08:42:33 +02:00
parent dd7ed720e5
commit 4da5aeedf4
17 changed files with 28 additions and 28 deletions

View File

@@ -144,7 +144,7 @@ class PdfDocTest extends PHPUnit\Framework\TestCase
$localproduct->fetch(0, 'PIDRESS');
$product_id=$localproduct->id;
if ($product_id <= 0) {
print "\n".__METHOD__." A product with ref PIDRESS must exists into database"; die();
print "\n".__METHOD__." A product with ref PIDRESS must exists into database"; die(1);
}
$localobject=new Facture($this->savdb);