From 8e8532561bf2e00cf4b89d71fc03b3f574da4455 Mon Sep 17 00:00:00 2001 From: mrgoldy Date: Thu, 31 Oct 2019 19:38:54 +0100 Subject: [PATCH] [ticket/15538] Amend style name and remove set_style PHPBB3-15538 --- tests/template/extension_test.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/template/extension_test.php b/tests/template/extension_test.php index 4e8a71b7a9..d40a749aa2 100644 --- a/tests/template/extension_test.php +++ b/tests/template/extension_test.php @@ -28,7 +28,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case $lang_loader = new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx); $this->lang = $lang = new \phpbb\language\language($lang_loader); $this->user = new \phpbb\user($lang, '\phpbb\datetime'); - $this->user->style['style_path'] = 'prosilver'; + $this->user->style['style_path'] = 'chameleon'; global $auth, $request, $symfony_request, $user; $user = new phpbb_mock_user(); @@ -106,7 +106,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case ] ); $twig->setLexer(new \phpbb\template\twig\lexer($twig)); - $this->template->set_style(); + $this->template->set_custom_style('tests', [ $this->template_path, $phpbb_root_path . 'styles/prosilver/template', @@ -315,7 +315,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case [ 'ICON_PHONE' => 'Phone icon', ], - 'Phone icon', + 'Phone icon', ], /** PNG: all options */ [ @@ -332,7 +332,7 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case [ 'ICON_PENCIL' => 'Pencil icon', ], - 'Pencil icon', + 'Pencil icon', ], /** SVG: default */ [