mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°9144 - ci revert ITOP_DEFAULT_ENV
This commit is contained in:
@@ -88,7 +88,7 @@ abstract class ItopCustomDatamodelTestCase extends ItopDataTestCase
|
||||
*/
|
||||
protected function GetSourceEnvironment(): string
|
||||
{
|
||||
return ITOP_DEFAULT_ENV;
|
||||
return 'production';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -86,7 +86,7 @@ abstract class ItopDataTestCase extends ItopTestCase
|
||||
/**
|
||||
* @var string Default environment to use for test cases
|
||||
*/
|
||||
public const DEFAULT_TEST_ENVIRONMENT = ITOP_DEFAULT_ENV;
|
||||
public const DEFAULT_TEST_ENVIRONMENT = 'production';
|
||||
public const USE_TRANSACTION = true;
|
||||
public const CREATE_TEST_ORG = false;
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ class TransactionsTest extends ItopTestCase
|
||||
parent::setUp();
|
||||
require_once('DeadLockInjection.php');
|
||||
$this->RequireOnceItopFile('/core/cmdbsource.class.inc.php');
|
||||
$sEnv = ITOP_DEFAULT_ENV;
|
||||
$sEnv = 'production';
|
||||
$sConfigFile = APPCONF.$sEnv.'/config-itop.php';
|
||||
|
||||
MetaModel::Startup($sConfigFile, false, true, false, $sEnv);
|
||||
|
||||
Reference in New Issue
Block a user