1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-17 22:28:46 +01:00

[ticket/15245] Fix tests

PHPBB3-15245
This commit is contained in:
Oliver Schramm 2017-10-01 19:14:12 +02:00
parent 221e5a01b1
commit 886089d28e

View File

@ -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();