We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d64c938 commit 139bb0eCopy full SHA for 139bb0e
tests/template/status_icon_test.php
@@ -16,7 +16,7 @@ class status_icon_test extends \phpbb_template_template_test_case
16
{
17
protected $test_path = __DIR__;
18
19
- protected function setup_engine(array $new_config = array())
+ protected function setup_engine(array $new_config = array(), string $template_path = '')
20
21
global $phpbb_root_path, $phpEx;
22
@@ -39,7 +39,7 @@ protected function setup_engine(array $new_config = array())
39
$phpEx
40
);
41
42
- $this->template_path = $this->test_path . '/templates';
+ $this->template_path = $template_path ?: $this->test_path . '/templates';
43
44
$cache_path = $phpbb_root_path . 'cache/twig';
45
$context = new \phpbb\template\context();
0 commit comments