Try to fix error when module not enabled

This commit is contained in:
Laurent Destailleur 2019-01-20 13:57:00 +01:00
parent 51b03e358e
commit ec0c6985e7

View File

@ -79,7 +79,7 @@ class AccountingAccountTest extends PHPUnit_Framework_TestCase
global $conf,$user,$langs,$db;
$db->begin(); // This is to have all actions inside a transaction even if test launched without suite.
if (empty($conf->accounting->enabled)) { print __METHOD__." module accouting must be enabled.\n"; die(); }
if (empty($conf->accounting->enabled)) { print __METHOD__." module accouting must be enabled.\n"; exit(-1); }
print __METHOD__."\n";
}