1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 15:16:16 +02:00

[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
This commit is contained in:
Oleg Pudeyev 2012-06-12 00:35:45 -04:00
parent 0dd981071b
commit b878d5daa9

View File

@ -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);
}
}