N°9904 - Add explanation message when "Check compatibility" button is not available (#1003)

This commit is contained in:
Lenaick
2026-08-18 16:40:18 +02:00
committed by GitHub
parent fac132f707
commit 27c0fe191b
2 changed files with 45 additions and 19 deletions

View File

@@ -593,7 +593,7 @@ class WizStepModulesChoiceTest extends ItopTestCase
public function testComputeChoiceFlags($aExtensionsOnDiskOrDb, $aWizardStepDefinition, $bIsCurrentSelected, $bDisableUninstallChecks, $aExpectedFlags)
{
$this->oWizStepModulesChoiceFake->setExtensionMap(iTopExtensionsMapFake::createFromArray($aExtensionsOnDiskOrDb));
$aFlags = $this->oWizStepModulesChoiceFake->ComputeChoiceFlags($aWizardStepDefinition, '_0', $bIsCurrentSelected ? ['_0' => '_0'] : [], false, $bDisableUninstallChecks, true);
$aFlags = $this->oWizStepModulesChoiceFake->ComputeChoiceFlags($aWizardStepDefinition, '_0', $bIsCurrentSelected ? ['_0' => '_0'] : [], false, $bDisableUninstallChecks);
$this->assertEquals($aExpectedFlags, $aFlags);
}