[feature/template-events] Adjust template events test to use the dataset.

PHPBB3-9550
This commit is contained in:
Oleg Pudeyev 2012-10-31 11:59:12 -04:00
parent 48adf8c5de
commit 9a7c8721ce

View file

@ -62,10 +62,10 @@ class phpbb_template_template_events_test extends phpbb_template_template_test_c
$defaults = $this->config_defaults(); $defaults = $this->config_defaults();
$config = new phpbb_config(array_merge($defaults, $new_config)); $config = new phpbb_config(array_merge($defaults, $new_config));
$this->template_path = dirname(__FILE__) . '/templates'; $this->template_path = dirname(__FILE__) . '/datasets/ext_trivial/templates';
$this->style_resource_locator = new phpbb_style_resource_locator(); $this->style_resource_locator = new phpbb_style_resource_locator();
$this->extension_manager = new phpbb_mock_extension_manager( $this->extension_manager = new phpbb_mock_extension_manager(
dirname(__FILE__) . '/', dirname(__FILE__) . '/datasets/ext_trivial/',
array( array(
'trivial' => array( 'trivial' => array(
'ext_name' => 'trivial', 'ext_name' => 'trivial',