aboutsummaryrefslogtreecommitdiffstats
path: root/tests/feed/attachments_base_test.php
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2017-10-01 19:14:12 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2017-10-01 19:14:12 +0200
commit886089d28e45eab8003a7e9ba2ac0132e186cc29 (patch)
treebdc708ac949093b5c31ad6896eda1d1e86c7ed69 /tests/feed/attachments_base_test.php
parent221e5a01b1cf3369fcb7807c30a8f05ead20076d (diff)
downloadforums-886089d28e45eab8003a7e9ba2ac0132e186cc29.tar
forums-886089d28e45eab8003a7e9ba2ac0132e186cc29.tar.gz
forums-886089d28e45eab8003a7e9ba2ac0132e186cc29.tar.bz2
forums-886089d28e45eab8003a7e9ba2ac0132e186cc29.tar.xz
forums-886089d28e45eab8003a7e9ba2ac0132e186cc29.zip
[ticket/15245] Fix tests
PHPBB3-15245
Diffstat (limited to 'tests/feed/attachments_base_test.php')
-rw-r--r--tests/feed/attachments_base_test.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/feed/attachments_base_test.php b/tests/feed/attachments_base_test.php
index 2ee1cc16e7..573218be42 100644
--- a/tests/feed/attachments_base_test.php
+++ b/tests/feed/attachments_base_test.php
@@ -46,7 +46,10 @@ class phpbb_feed_attachments_base_test extends phpbb_database_test_case
),
'\phpbb\datetime'
);
- $feed_helper = new \phpbb\feed\helper($config, $path_helper, $user);
+ $container = new phpbb_mock_container_builder();
+ $this->get_test_case_helpers()->set_s9e_services($container);
+ $container->set('feed.quote_helper', new \phpbb\feed\quote_helper($user, $phpbb_root_path, 'php'));
+ $feed_helper = new \phpbb\feed\helper($config, $container, $path_helper, $container->get('text_formatter.renderer'), $user);
$db = $this->new_dbal();
$cache = new \phpbb_mock_cache();
$auth = new \phpbb\auth\auth();