N°9144 - ci revert ITOP_DEFAULT_ENV

This commit is contained in:
odain
2026-04-03 17:23:13 +02:00
parent 93b658646b
commit c89a75716e
3 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ abstract class ItopCustomDatamodelTestCase extends ItopDataTestCase
*/
protected function GetSourceEnvironment(): string
{
return ITOP_DEFAULT_ENV;
return 'production';
}
/**

View File

@@ -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;

View File

@@ -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);