General
'; - $theoutput .= '- ';
- $theoutput .= '
- '; - $theoutput .= '
diff --git a/tests/courseformatrenderer_test.php b/tests/courseformatrenderer_test.php index 9a1e606a..883494eb 100644 --- a/tests/courseformatrenderer_test.php +++ b/tests/courseformatrenderer_test.php @@ -354,7 +354,7 @@ public function test_print_multiple_section_page_vertical() { $this->expectOutputString($theoutput); } - public function test_print_multiple_section_page_no_sections_horizontal() { + public function test_print_multiple_section_page_no_sections() { global $CFG; $activityicon = 'alt=" " role="presentation" '; if ($CFG->version >= 2018120303.06) { @@ -386,37 +386,6 @@ public function test_print_multiple_section_page_no_sections_horizontal() { $this->expectOutputString($theoutput); } - public function test_print_multiple_section_page_no_sections_vertical() { - global $CFG; - $activityicon = 'alt=" " role="presentation" '; - if ($CFG->version >= 2018120303.06) { - $activityicon = 'alt="" role="presentation" aria-hidden="true" '; - } - - $this->init(0, 1); - $section0 = $this->courseformat->get_section(0); - - self::call_method($this->outputus, 'print_multiple_section_page', - array($this->course, null, null, null, null, null)); - $theoutput = '