From cfc561d0de7d25845b0f66e71dc0e402f27dcde0 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Wed, 19 Oct 2016 10:58:21 +0800 Subject: [PATCH] MDL-52777 usertours: Toothpaste for tabs again --- admin/tool/usertours/tests/theme_filter_test.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/admin/tool/usertours/tests/theme_filter_test.php b/admin/tool/usertours/tests/theme_filter_test.php index 02625cfc09b..547f571643d 100644 --- a/admin/tool/usertours/tests/theme_filter_test.php +++ b/admin/tool/usertours/tests/theme_filter_test.php @@ -81,20 +81,20 @@ class tool_usertours_theme_filter_testcase extends advanced_testcase { * @param string $currenttheme The name of the current theme * @param boolean $expected Whether the tour is expected to match */ - public function test_filter_matches($filtervalues, $currenttheme, $expected) { + public function test_filter_matches($filtervalues, $currenttheme, $expected) { global $PAGE; - $filtername = \tool_usertours\local\filter\theme::class; + $filtername = \tool_usertours\local\filter\theme::class; - // Note: No need to persist this tour. - $tour = new \tool_usertours\tour(); + // Note: No need to persist this tour. + $tour = new \tool_usertours\tour(); if ($filtervalues !== null) { $tour->set_filter_values('theme', $filtervalues); } $PAGE->theme->name = $currenttheme; - // Note: The theme filter does not use the context. - $this->assertEquals($expected, $filtername::filter_matches($tour, \context_system::instance())); - } + // Note: The theme filter does not use the context. + $this->assertEquals($expected, $filtername::filter_matches($tour, \context_system::instance())); + } }