From 0507ae2f96ae23d1bf67b14b2af5619af701eac2 Mon Sep 17 00:00:00 2001 From: eWallah Date: Sat, 8 May 2021 09:59:49 +0200 Subject: [PATCH] code review --- tests/format_masonry_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);