mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +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
|
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
|
* @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 USE_TRANSACTION = true;
|
||||||
public const CREATE_TEST_ORG = false;
|
public const CREATE_TEST_ORG = false;
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ class TransactionsTest extends ItopTestCase
|
|||||||
parent::setUp();
|
parent::setUp();
|
||||||
require_once('DeadLockInjection.php');
|
require_once('DeadLockInjection.php');
|
||||||
$this->RequireOnceItopFile('/core/cmdbsource.class.inc.php');
|
$this->RequireOnceItopFile('/core/cmdbsource.class.inc.php');
|
||||||
$sEnv = ITOP_DEFAULT_ENV;
|
$sEnv = 'production';
|
||||||
$sConfigFile = APPCONF.$sEnv.'/config-itop.php';
|
$sConfigFile = APPCONF.$sEnv.'/config-itop.php';
|
||||||
|
|
||||||
MetaModel::Startup($sConfigFile, false, true, false, $sEnv);
|
MetaModel::Startup($sConfigFile, false, true, false, $sEnv);
|
||||||
|
|||||||
Reference in New Issue
Block a user