diff --git a/tests/format_masonry_test.php b/tests/format_masonry_test.php index e2f9c6e..efdb266 100644 --- a/tests/format_masonry_test.php +++ b/tests/format_masonry_test.php @@ -141,7 +141,7 @@ public function test_renderer() { $generator->get_plugin_generator('mod_forum')->create_instance(['course' => $this->course->id, 'section' => 1]); $generator->get_plugin_generator('mod_wiki')->create_instance(['course' => $this->course->id, 'section' => 1]); set_section_visible($this->course->id, 2, 0); - + $page = new \moodle_page(); $page->set_context(\context_course::instance($this->course->id)); $page->set_course($this->course);