N°9144 - fix both UI setup wizard and CLI unattended + replace production by ITOP_DEFAULT_ENV

This commit is contained in:
odain
2026-04-03 16:17:44 +02:00
parent d36f68e3b0
commit 82a20c54a9
25 changed files with 58 additions and 78 deletions

View File

@@ -31,7 +31,7 @@ class TransactionsTest extends ItopTestCase
parent::setUp();
require_once('DeadLockInjection.php');
$this->RequireOnceItopFile('/core/cmdbsource.class.inc.php');
$sEnv = 'production';
$sEnv = ITOP_DEFAULT_ENV;
$sConfigFile = APPCONF.$sEnv.'/config-itop.php';
MetaModel::Startup($sConfigFile, false, true, false, $sEnv);