aboutsummaryrefslogtreecommitdiffstats
path: root/tests/email
diff options
context:
space:
mode:
authormrgoldy <gijsmartens1@gmail.com>2018-12-10 00:10:27 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-09-25 20:39:04 +0200
commit133dfd0a84ce258fadab5f48de45684869b14800 (patch)
treecb9acf47f24f975850ede6c9941a41524c201627 /tests/email
parenteee00652e7b608967a2ec5ee8fd165c2760be145 (diff)
downloadforums-133dfd0a84ce258fadab5f48de45684869b14800.tar
forums-133dfd0a84ce258fadab5f48de45684869b14800.tar.gz
forums-133dfd0a84ce258fadab5f48de45684869b14800.tar.bz2
forums-133dfd0a84ce258fadab5f48de45684869b14800.tar.xz
forums-133dfd0a84ce258fadab5f48de45684869b14800.zip
[ticket/15905] Try it without auth
PHPBB3-15905
Diffstat (limited to 'tests/email')
-rw-r--r--tests/email/email_parsing_test.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/email/email_parsing_test.php b/tests/email/email_parsing_test.php
index 1b5c6aaa8c..2e083a6056 100644
--- a/tests/email/email_parsing_test.php
+++ b/tests/email/email_parsing_test.php
@@ -66,9 +66,8 @@ class phpbb_email_parsing_test extends phpbb_test_case
);
$phpbb_container->set('ext.manager', $extension_manager);
- $auth = $this->getMock('\phpbb\auth\auth');
$context = new \phpbb\template\context();
- $twig_extension = new \phpbb\template\twig\extension($auth, $context, $lang);
+ $twig_extension = new \phpbb\template\twig\extension($context, $lang);
$phpbb_container->set('template.twig.extensions.phpbb', $twig_extension);
$twig_extensions_collection = new \phpbb\di\service_collection($phpbb_container);