MDL-83541 qtype_numerical: Fix incorrect test hints
This commit is contained in:
@@ -185,8 +185,16 @@ class qtype_numerical_test_helper extends question_test_helper {
|
||||
*/
|
||||
public function get_numerical_question_form_data_pi3tries() {
|
||||
$form = $this->get_numerical_question_form_data_pi();
|
||||
$form->hint[0]['text'] = 'First hint';
|
||||
$form->hint[1]['text'] = 'Second hint';
|
||||
$form->hint = [
|
||||
[
|
||||
'text' => 'First hint',
|
||||
'format' => FORMAT_HTML,
|
||||
],
|
||||
[
|
||||
'text' => 'Second hint',
|
||||
'format' => FORMAT_HTML,
|
||||
],
|
||||
];
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user