mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 05:54:19 +02:00
MDL-41615 question: fix unit tests
Heading levels have been changed.
This commit is contained in:
parent
0967c74a3d
commit
5b5447fa83
@ -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
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user