N°9144 - setup wizard sequencers test coverage + fixes

N°9144 - ci: fix hub setup test

N°9144 - code style

N°9144 - tests and fixes

N°9144 - ci: fix tests and code style
This commit is contained in:
odain
2026-04-07 17:12:04 +02:00
parent 611f1e66f2
commit ad0234a94f
12 changed files with 890 additions and 271 deletions

View File

@@ -161,18 +161,23 @@ abstract class StepSequencer
protected function GetConfig()
{
if (! is_null($this->oConfig)) {
return $this->oConfig;
}
$sTargetEnvironment = $this->oRunTimeEnvironment->GetBuildEnv();
$sConfigFile = APPCONF.$sTargetEnvironment.'/'.ITOP_CONFIG_FILE;
try {
$oConfig = new Config($sConfigFile);
$this->oConfig = new Config($sConfigFile);
} catch (Exception $e) {
return null;
SetupLog::Exception("Setup error", $e);
throw $e;
}
$aParamValues = $this->oParams->GetParamForConfigArray();
$oConfig->UpdateFromParams($aParamValues);
$this->oConfig->UpdateFromParams($aParamValues);
return $oConfig;
return $this->oConfig;
}
/**