[ticket/17010] Update webpush test

PHPBB3-17010
This commit is contained in:
Marc Alexander 2023-08-15 09:47:11 +02:00
parent 479e54db93
commit 2da2211898
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -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'),