MDL-68149 qtype_match: Updatey tests to follow make_question() pattern

This commit is contained in:
Tim Hunt
2020-03-11 13:41:13 +00:00
parent 9df2f66fb4
commit b060e7495c
6 changed files with 57 additions and 46 deletions
@@ -42,7 +42,7 @@ class qbehaviour_interactivecountback_walkthrough_test extends qbehaviour_walkth
public function test_interactive_feedback_match_reset() {
// Create a matching question.
$m = test_question_maker::make_a_matching_question();
$m = test_question_maker::make_question('match');
$m->shufflestems = false;
$m->hints = array(
new question_hint_with_parts(0, 'This is the first hint.', FORMAT_HTML, true, true),