mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17010] Update webpush test
PHPBB3-17010
This commit is contained in:
parent
479e54db93
commit
2da2211898
1 changed files with 4 additions and 2 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Reference in a new issue