diff --git a/tests/helper.php b/tests/helper.php index b5b7d0f..1f71dd3 100644 --- a/tests/helper.php +++ b/tests/helper.php @@ -54,7 +54,7 @@ public function make_varnumunit_question_3_sig_figs_with_m_unit() { '12345', // Answer. '1', // Fraction. '

Your answer is correct.

', // Feedback. - 'html', // Feedbackformat. + FORMAT_HTML, // Feedbackformat. '3', // Sigfigs. '', // Error. '0.1', // Syserrorpenalty. @@ -68,7 +68,7 @@ public function make_varnumunit_question_3_sig_figs_with_m_unit() { '*', // Answer. '0', // Fraction. '

Your answer is incorrect.

', // Feedback. - 'html', // Feedbackformat. + FORMAT_HTML, // Feedbackformat. '0', // Sigfigs. '', // Error. '0.1000000', // Syserrorpenalty. @@ -125,7 +125,7 @@ public function make_varnumunit_question_3_sig_figs_with_units_meters_per_second '4000', // Answer. '1', // Fraction. '

Your answer is correct.

', // Feedback. - 'html', // Feedbackformat. + FORMAT_HTML, // Feedbackformat. '4', // Sigfigs. '', // Error. '0.1000000', // Syserrorpenalty. @@ -139,7 +139,7 @@ public function make_varnumunit_question_3_sig_figs_with_units_meters_per_second '*', // Answer. '0', // Fraction. '

Your answer is incorrect.

', // Feedback. - 'html', // Feedbackformat. + FORMAT_HTML, // Feedbackformat. '0', // Sigfigs. '', // Error. '0.1000000', // Syserrorpenalty. @@ -206,7 +206,7 @@ public function make_varnumunit_question_simple_1_m() { '1', // Answer. '1', // Fraction. '

Your answer is correct.

', // Feedback. - 'html', // Feedbackformat. + FORMAT_HTML, // Feedbackformat. '0', // Sigfigs. '', // Error. '0.1000000', // Syserrorpenalty.