mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-24 17:53:17 +01:00
Fix bad test
This commit is contained in:
@@ -83,7 +83,7 @@ class ProductTest extends PHPUnit\Framework\TestCase
|
||||
global $conf,$user,$langs,$db;
|
||||
|
||||
if (empty($conf->produit->enabled)) {
|
||||
print __METHOD__." Module Product must be enabled.\n"; die();
|
||||
print __METHOD__." Module Product must be enabled.\n"; die(1);
|
||||
}
|
||||
|
||||
$db->begin(); // This is to have all actions inside a transaction even if test launched without suite.
|
||||
|
||||
Reference in New Issue
Block a user