mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-25 02:03:23 +01:00
Fix bad test
This commit is contained in:
@@ -83,7 +83,7 @@ class EntrepotTest extends PHPUnit\Framework\TestCase
|
||||
global $conf,$user,$langs,$db;
|
||||
|
||||
if (empty($conf->stock->enabled)) {
|
||||
print __METHOD__." Module Stock must be enabled.\n"; die();
|
||||
print __METHOD__." Module Stock 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