aboutsummaryrefslogtreecommitdiffstats
path: root/tests/feed/attachments_base_test.php
diff options
context:
space:
mode:
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();