diff options
author | Nils Adermann <naderman@naderman.de> | 2013-09-25 07:50:22 -0700 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2013-09-25 07:50:22 -0700 |
commit | 8da31332381b572f8d03c63d4c32a4f32ed8775f (patch) | |
tree | 1ef729ea3700bae463cd57b672e8de12311fe00d /tests/template/template_test_case_with_tree.php | |
parent | 717e2337b9276d9f9680110dff552ea536d0723c (diff) | |
parent | 645bd127dd53300b7877b779226ac53a4891620c (diff) | |
download | forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar.gz forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar.bz2 forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.tar.xz forums-8da31332381b572f8d03c63d4c32a4f32ed8775f.zip |
Merge pull request #1565 from naderman/ticket/11700
[WIP][ticket/11700] Namespaces
Diffstat (limited to 'tests/template/template_test_case_with_tree.php')
-rw-r--r-- | tests/template/template_test_case_with_tree.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/template/template_test_case_with_tree.php b/tests/template/template_test_case_with_tree.php index c7bd03a3c7..232331d37c 100644 --- a/tests/template/template_test_case_with_tree.php +++ b/tests/template/template_test_case_with_tree.php @@ -16,10 +16,10 @@ class phpbb_template_template_test_case_with_tree extends phpbb_template_templat global $phpbb_root_path, $phpEx, $user; $defaults = $this->config_defaults(); - $config = new phpbb_config(array_merge($defaults, $new_config)); + $config = new \phpbb\config\config(array_merge($defaults, $new_config)); - $this->phpbb_filesystem = new phpbb_filesystem( - new phpbb_symfony_request( + $this->phpbb_filesystem = new \phpbb\filesystem( + new \phpbb\symfony_request( new phpbb_mock_request() ), $phpbb_root_path, @@ -28,7 +28,7 @@ class phpbb_template_template_test_case_with_tree extends phpbb_template_templat $this->template_path = $this->test_path . '/templates'; $this->parent_template_path = $this->test_path . '/parent_templates'; - $this->template = new phpbb_template_twig($this->phpbb_filesystem, $config, $user, new phpbb_template_context()); + $this->template = new phpbb\template\twig\twig($this->phpbb_filesystem, $config, $user, new phpbb\template\context()); $this->template->set_custom_style('tests', array($this->template_path, $this->parent_template_path)); } } |