forked from Wavyzz/dolibarr
Fix phpunit
This commit is contained in:
@@ -24,7 +24,9 @@
|
||||
* \remarks To run this script as CLI: phpunit filename.php
|
||||
*/
|
||||
|
||||
define('PHPUNIT_MODE', 1);
|
||||
if (! defined('NOREQUIREUSER')) {
|
||||
define('PHPUNIT_MODE', 1);
|
||||
}
|
||||
|
||||
global $conf,$user,$langs,$db;
|
||||
//define('TEST_DB_FORCE_TYPE','mysql'); // This is to force using mysql driver
|
||||
|
||||
Reference in New Issue
Block a user