forked from Wavyzz/dolibarr
Fix bad test
This commit is contained in:
@@ -84,10 +84,10 @@ class FactureTest extends PHPUnit\Framework\TestCase
|
||||
global $conf,$user,$langs,$db;
|
||||
|
||||
if (empty($conf->facture->enabled)) {
|
||||
print __METHOD__." module customer invoice must be enabled.\n"; die();
|
||||
print __METHOD__." module customer invoice must be enabled.\n"; die(1);
|
||||
}
|
||||
if (! empty($conf->ecotaxdeee->enabled)) {
|
||||
print __METHOD__." ecotaxdeee module must not be enabled.\n"; die();
|
||||
print __METHOD__." ecotaxdeee module must not 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