N°9861 - Check user can go to audit step only when keep current choice button has been clicked (#1013)

* N°9861 - Check user can go to audit step only when keep current choice button has been clicked

* Rename variable to improve clarity
This commit is contained in:
Lenaick
2026-08-19 16:03:25 +02:00
committed by GitHub
parent 1a41349d7b
commit 2073e8c10c
3 changed files with 11 additions and 14 deletions

View File

@@ -1715,13 +1715,9 @@ HTML,
['class' => 'WizStepModulesChoice', 'state' => '4'],
['class' => 'WizStepModulesChoice', 'state' => '5'],
];
$this->oWizard->SetParameter('_steps', $aSteps);
$this->oWizard->SetWizardSteps($aSteps);
$oWizardState = $this->oWizard->GetLatestWizardStateFromStepClass($sStepClass);
$this->assertEquals(new WizardState($sStepClass, $sExpectedState), $oWizardState);
$aNewSteps = $this->oWizard->GetParameter('_steps', []);
$this->assertCount(count($aSteps) - 1, $aNewSteps);
}
}