mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13154] Adjusting phpBB tests for the dispatcher
PHPBB3-13154
This commit is contained in:
parent
458f9cade6
commit
8098d313e6
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,8 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
|
|||
$phpEx
|
||||
);
|
||||
|
||||
$phpbb_dispatcher = $this->phpbb_dispatcher = new phpbb_mock_event_dispatcher();
|
||||
|
||||
$phpbb_container = $this->container = new phpbb_mock_container_builder();
|
||||
|
||||
$this->notifications = new phpbb_notification_manager_helper(
|
||||
|
@ -75,6 +77,7 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
|
|||
$this->container,
|
||||
$this->user_loader,
|
||||
$this->config,
|
||||
$this->phpbb_dispatcher,
|
||||
$this->db,
|
||||
$this->cache,
|
||||
$this->user,
|
||||
|
|
Loading…
Add table
Reference in a new issue