MDL-41615 question: fix unit tests

Heading levels have been changed.
This commit is contained in:
Dan Poltawski 2013-11-07 18:10:55 +08:00
parent 0967c74a3d
commit 5b5447fa83
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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));