diff --git a/question/type/description/tests/walkthrough_test.php b/question/type/description/tests/walkthrough_test.php index 035bc3ef547..1fb0c070503 100644 --- a/question/type/description/tests/walkthrough_test.php +++ b/question/type/description/tests/walkthrough_test.php @@ -44,7 +44,7 @@ class qtype_description_walkthrough_test extends qbehaviour_walkthrough_test_bas $this->quba->get_question_attempt($this->slot)->get_behaviour_name()); $this->check_current_output( - new question_contains_tag_with_contents('h3', get_string('informationtext', 'qtype_description')) + new question_contains_tag_with_contents('h4', get_string('informationtext', 'qtype_description')) ); // Further tests of the description qtype are in diff --git a/question/type/truefalse/tests/walkthrough_test.php b/question/type/truefalse/tests/walkthrough_test.php index 0a63ad7698c..b940dd2e3da 100644 --- a/question/type/truefalse/tests/walkthrough_test.php +++ b/question/type/truefalse/tests/walkthrough_test.php @@ -50,7 +50,7 @@ class qtype_truefalse_walkthrough_test extends qbehaviour_walkthrough_test_base $this->check_current_output( $this->get_contains_question_text_expectation($tf), $this->get_does_not_contain_feedback_expectation(), - new question_contains_tag_with_contents('h3', + new question_contains_tag_with_contents('h4', get_string('questiontext', 'question'))); $this->assertEquals(get_string('false', 'qtype_truefalse'), $this->quba->get_right_answer_summary($this->slot));