Permalink
Browse files

MDL-41615 question: fix unit tests

Heading levels have been changed.
  • Loading branch information...
danpoltawski committed Nov 7, 2013
1 parent 0967c74 commit 5b5447fa83ff77e997ccb32ce2f6b6788c224f81
@@ -44,7 +44,7 @@ public function test_informationitem_feedback_description() {
$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
@@ -50,7 +50,7 @@ public function test_false_right_does_not_show_feedback_when_not_answered() {
$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));

0 comments on commit 5b5447f

Please sign in to comment.