diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-03-27 19:59:15 +0200 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-03-29 19:06:37 +0200 |
commit | 0b1ed8dbbb3792b97726282fdc630cc242def2ad (patch) | |
tree | 939e53a92ba86b69f9e88e91fe8430fe5bf23df3 /tests/controller | |
parent | [ticket/13683] Respects force_server_vars settings when generating URLs (diff) | |
download | phpbb-0b1ed8dbbb3792b97726282fdc630cc242def2ad.tar.gz phpbb-0b1ed8dbbb3792b97726282fdc630cc242def2ad.tar.bz2 phpbb-0b1ed8dbbb3792b97726282fdc630cc242def2ad.zip |
[ticket/13683] Fix more cases
PHPBB3-13683
Diffstat (limited to 'tests/controller')
-rw-r--r-- | tests/controller/common_helper_route.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controller/common_helper_route.php b/tests/controller/common_helper_route.php index 66fb29caf8..b3ec8b256a 100644 --- a/tests/controller/common_helper_route.php +++ b/tests/controller/common_helper_route.php @@ -427,7 +427,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_test_case */ public function test_helper_url_network_with_rewrite($route, $params, $is_amp, $session_id, $expected, $description) { - $this->config = new \phpbb\config\config(['enable_mod_rewrite' => '1']); + $this->config = new \phpbb\config\config(array('enable_mod_rewrite' => '1')); $helper = new phpbb_mock_controller_helper($this->template, $this->user, $this->config, $this->provider, $this->extension_manager, $this->symfony_request, $this->request, $this->filesystem, $this->root_path, 'php', dirname(__FILE__) . '/'); static::assertEquals($expected, $helper->route($route, $params, $is_amp, $session_id, UrlGeneratorInterface::NETWORK_PATH), $description); } |