diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-06-12 00:35:45 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-11-02 19:39:07 -0400 |
commit | b878d5daa9e7210c35b2d06e1680f22eb6701c6f (patch) | |
tree | 8edc2179eca10abe731cecab1c2a4619286e1dd5 /tests | |
parent | 0dd981071bd4a39480759db130ea9c6d80c37065 (diff) | |
download | forums-b878d5daa9e7210c35b2d06e1680f22eb6701c6f.tar forums-b878d5daa9e7210c35b2d06e1680f22eb6701c6f.tar.gz forums-b878d5daa9e7210c35b2d06e1680f22eb6701c6f.tar.bz2 forums-b878d5daa9e7210c35b2d06e1680f22eb6701c6f.tar.xz forums-b878d5daa9e7210c35b2d06e1680f22eb6701c6f.zip |
[ticket/10933] Update template locator test to use style resource locator.
There is no reason for it to go through a template instance to test
resource locator functionality.
PHPBB3-10933
Diffstat (limited to 'tests')
-rw-r--r-- | tests/template/template_locate_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/template_locate_test.php b/tests/template/template_locate_test.php index be9ae06809..851dcae8ea 100644 --- a/tests/template/template_locate_test.php +++ b/tests/template/template_locate_test.php @@ -62,7 +62,7 @@ class phpbb_template_template_locate_test extends phpbb_template_template_test_c $this->setup_engine(); // Locate template - $result = $this->template->locate($files, $return_default, $return_full_path); + $result = $this->style_resource_locator->get_first_template_location($files, $return_default, $return_full_path); $this->assertSame($expected, $result); } } |