aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/includephp_test.php
diff options
context:
space:
mode:
authorVjacheslav Trushkin <arty@phpbb.com>2012-03-15 21:12:13 +0200
committerVjacheslav Trushkin <arty@phpbb.com>2012-03-15 21:12:13 +0200
commitd25b607ca16bfd240f3b9cb9da7e4567b426ec26 (patch)
tree4c5ea2b82b6509673e5930c6e1bdaa171265f100 /tests/template/includephp_test.php
parentfd96f97dc3c659e1d2e9b58420d652ad79387fbf (diff)
downloadforums-d25b607ca16bfd240f3b9cb9da7e4567b426ec26.tar
forums-d25b607ca16bfd240f3b9cb9da7e4567b426ec26.tar.gz
forums-d25b607ca16bfd240f3b9cb9da7e4567b426ec26.tar.bz2
forums-d25b607ca16bfd240f3b9cb9da7e4567b426ec26.tar.xz
forums-d25b607ca16bfd240f3b9cb9da7e4567b426ec26.zip
[feature/merging-style-components] Updating test cases
Updating code in test cases for new template classes. PHPBB3-10632
Diffstat (limited to 'tests/template/includephp_test.php')
-rw-r--r--tests/template/includephp_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/includephp_test.php b/tests/template/includephp_test.php
index 28ea118a13..626735f15f 100644
--- a/tests/template/includephp_test.php
+++ b/tests/template/includephp_test.php
@@ -36,7 +36,7 @@ class phpbb_template_includephp_test extends phpbb_template_template_test_case
$this->setup_engine(array('tpl_allow_php' => true));
- $this->template->set_custom_template($cache_dir, 'tests');
+ $this->style->set_custom_style('tests', $cache_dir);
$cache_file = $this->template->cachepath . 'includephp_absolute.html.php';
$this->run_template('includephp_absolute.html', array(), array(), array(), "Path is absolute.\ntesting included php", $cache_file);