aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/template_locate_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template/template_locate_test.php')
-rw-r--r--tests/template/template_locate_test.php2
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);
}
}