MDL-83541 qtype_numerical: Fix incorrect test hints

This commit is contained in:
Huong Nguyen
2025-03-14 14:33:27 +07:00
parent d84b9f6fed
commit a2be4986d4
+10 -2
View File
@@ -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;
}