forked from Wavyzz/dolibarr
Fix bad test
This commit is contained in:
@@ -84,7 +84,7 @@ class StripeTest extends PHPUnit\Framework\TestCase
|
||||
global $conf,$user,$langs,$db;
|
||||
|
||||
if (empty($conf->stripe->enabled)) {
|
||||
print __METHOD__." Module Stripe must be enabled.\n"; die();
|
||||
print __METHOD__." Module Stripe 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