Merge branch 'MDL-83541-behat' of https://github.com/HuongNV13/moodle

This commit is contained in:
Sara Arjona
2025-03-14 09:21:00 +01:00
+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;
}