mirror of
https://github.com/Combodo/iTop.git
synced 2026-09-06 13:28:17 +02:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user