mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
[ticket/17010] Update webpush test
PHPBB3-17010
This commit is contained in:
@@ -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'),
|
||||
|
Reference in New Issue
Block a user