diff --git a/lib/tests/moodle_page_test.php b/lib/tests/moodle_page_test.php index 8fa2d661c52..bd68624333e 100644 --- a/lib/tests/moodle_page_test.php +++ b/lib/tests/moodle_page_test.php @@ -315,7 +315,7 @@ class core_moodle_page_testcase extends advanced_testcase { // By default formatting is applied and tags are removed. $this->testpage->set_heading('a heading edit

'); $this->assertSame('a heading edit', $this->testpage->heading); - + // Without formatting the tags are preserved but cleaned. $this->testpage->set_heading('a heading edit

', false); $this->assertSame('a heading edit

', $this->testpage->heading);