From 2da2211898e8931ac68977438f0d11b24881a531 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 15 Aug 2023 09:47:11 +0200 Subject: [PATCH] [ticket/17010] Update webpush test PHPBB3-17010 --- tests/notification/notification_method_webpush_test.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/notification/notification_method_webpush_test.php b/tests/notification/notification_method_webpush_test.php index 888ad11a3b..9cf374da1a 100644 --- a/tests/notification/notification_method_webpush_test.php +++ b/tests/notification/notification_method_webpush_test.php @@ -125,6 +125,7 @@ class notification_method_webpush_test extends phpbb_tests_notification_base $phpbb_container->set('auth', $auth); $phpbb_container->set('cache.driver', $cache_driver); $phpbb_container->set('cache', $cache); + $phpbb_container->set('log', new \phpbb\log\dummy()); $phpbb_container->set('text_formatter.utils', new \phpbb\textformatter\s9e\utils()); $phpbb_container->set('dispatcher', $this->phpbb_dispatcher); $phpbb_container->setParameter('core.root_path', $phpbb_root_path); @@ -147,10 +148,11 @@ class notification_method_webpush_test extends phpbb_tests_notification_base ); $this->notification_method_webpush = new \phpbb\notification\method\webpush( - $phpbb_container->get('user_loader'), - $phpbb_container->get('user'), $phpbb_container->get('config'), $phpbb_container->get('dbal.conn'), + $phpbb_container->get('log'), + $phpbb_container->get('user_loader'), + $phpbb_container->get('user'), $phpbb_root_path, $phpEx, $phpbb_container->getParameter('tables.notification_push'),