aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-07-05 12:11:59 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-05 12:11:59 -0500
commit13c356545465a457b8c55dd9638f89165bab6271 (patch)
tree66af85cd86d3117377baf09cf5b5c2df9ddd85a9 /tests
parent1f4a717f9ec925d84b589547ce6c93a17ae863e9 (diff)
downloadforums-13c356545465a457b8c55dd9638f89165bab6271.tar
forums-13c356545465a457b8c55dd9638f89165bab6271.tar.gz
forums-13c356545465a457b8c55dd9638f89165bab6271.tar.bz2
forums-13c356545465a457b8c55dd9638f89165bab6271.tar.xz
forums-13c356545465a457b8c55dd9638f89165bab6271.zip
[feature/twig] Remove style dependency for controller helper
If a controller wants to use set_style, it can just use phpbb_style PHPBB3-11598
Diffstat (limited to 'tests')
-rw-r--r--tests/controller/helper_url_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controller/helper_url_test.php b/tests/controller/helper_url_test.php
index 3206460caf..6686b77e8f 100644
--- a/tests/controller/helper_url_test.php
+++ b/tests/controller/helper_url_test.php
@@ -55,7 +55,7 @@ class phpbb_controller_helper_url_test extends phpbb_test_case
$this->style_provider = new phpbb_style_path_provider();
$this->style = new phpbb_style($phpbb_root_path, $phpEx, new phpbb_config(array()), $this->user, $this->style_resource_locator, $this->style_provider, $this->template);
- $helper = new phpbb_controller_helper($this->style, $this->template, $this->user, '', 'php');
+ $helper = new phpbb_controller_helper($this->template, $this->user, '', 'php');
$this->assertEquals($helper->url($route, $params, $is_amp, $session_id), $expected);
}
}