aboutsummaryrefslogtreecommitdiffstats
path: root/tests/email/email_parsing_test.php
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2017-04-16 20:53:59 +0700
committerrxu <rxu@mail.ru>2017-04-16 23:40:16 +0700
commitfcc8e155ec309669bebbf6e0370cecfe64c95193 (patch)
tree99bdec140f08170e7de71febb0393adf25a4c1ec /tests/email/email_parsing_test.php
parent1ea114ca20bd4613420284d7bfc4c92ab0a817b4 (diff)
downloadforums-fcc8e155ec309669bebbf6e0370cecfe64c95193.tar
forums-fcc8e155ec309669bebbf6e0370cecfe64c95193.tar.gz
forums-fcc8e155ec309669bebbf6e0370cecfe64c95193.tar.bz2
forums-fcc8e155ec309669bebbf6e0370cecfe64c95193.tar.xz
forums-fcc8e155ec309669bebbf6e0370cecfe64c95193.zip
[ticket/14990] Move dispatcher object to the front of the options array
PHPBB3-14990
Diffstat (limited to 'tests/email/email_parsing_test.php')
-rw-r--r--tests/email/email_parsing_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/email/email_parsing_test.php b/tests/email/email_parsing_test.php
index a8366cf076..8fdfe3035e 100644
--- a/tests/email/email_parsing_test.php
+++ b/tests/email/email_parsing_test.php
@@ -81,13 +81,13 @@ class phpbb_email_parsing_test extends phpbb_test_case
$cache_path,
null,
new \phpbb\template\twig\loader($filesystem, ''),
+ new \phpbb\event\dispatcher($phpbb_container),
array(
'cache' => false,
'debug' => false,
'auto_reload' => true,
'autoescape' => false,
- ),
- new \phpbb\event\dispatcher($phpbb_container)
+ )
);
$twig->addExtension($twig_extension);
$phpbb_container->set('template.twig.lexer', new \phpbb\template\twig\lexer($twig));