1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

[ticket/13713] Add missing services in tests

PHPBB3-13713
This commit is contained in:
Marc Alexander
2021-01-28 20:42:56 +01:00
parent e2c50eae68
commit d3e1deb3e5
2 changed files with 28 additions and 1 deletions

View File

@@ -91,6 +91,16 @@ class notification_method_email_test extends phpbb_tests_notification_base
$phpbb_container->setParameter('tables.user_notifications', 'phpbb_user_notifications');
$phpbb_container->setParameter('tables.notification_types', 'phpbb_notification_types');
$phpbb_container->setParameter('tables.notification_emails', 'phpbb_notification_emails');
$phpbb_container->set(
'text_formatter.s9e.mention_helper',
new \phpbb\textformatter\s9e\mention_helper(
$this->db,
$auth,
$this->user,
$phpbb_root_path,
$phpEx
)
);
$this->notification_method_email = $this->getMockBuilder('\phpbb\notification\method\email')
->setConstructorArgs([