aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_test_case.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-24 13:25:20 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-24 13:25:20 -0500
commit12c22585069066957cc3211136ebd480295d4758 (patch)
tree6358ba04f28a8368ef5806aec70825466c30e778 /tests/template/template_test_case.php
parent863592a8bedbacf3e7bf6bee458797e819020e6f (diff)
downloadforums-12c22585069066957cc3211136ebd480295d4758.tar
forums-12c22585069066957cc3211136ebd480295d4758.tar.gz
forums-12c22585069066957cc3211136ebd480295d4758.tar.bz2
forums-12c22585069066957cc3211136ebd480295d4758.tar.xz
forums-12c22585069066957cc3211136ebd480295d4758.zip
[ticket/11628] Remove template_path option on set_custom_style
This was set to default 'template/' to append template/ to all the paths, but every location was actually just setting it to '' to not append anything. So removed the option entirely (additional paths can be appended to the paths being sent to the function already) PHPBB3-11628
Diffstat (limited to 'tests/template/template_test_case.php')
-rw-r--r--tests/template/template_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/template_test_case.php b/tests/template/template_test_case.php
index 00c89e4501..91895502ad 100644
--- a/tests/template/template_test_case.php
+++ b/tests/template/template_test_case.php
@@ -65,7 +65,7 @@ class phpbb_template_template_test_case extends phpbb_test_case
$this->template_path = $this->test_path . '/templates';
$this->template = new phpbb_template_twig($phpbb_root_path, $phpEx, $config, $this->user, new phpbb_template_context());
- $this->template->set_custom_style('tests', $this->template_path, '');
+ $this->template->set_custom_style('tests', $this->template_path);
}
protected function setUp()