mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/13154] Adjusting phpBB tests for the dispatcher
PHPBB3-13154
This commit is contained in:
@@ -67,6 +67,8 @@ abstract class phpbb_tests_notification_base extends phpbb_database_test_case
|
|||||||
$phpEx
|
$phpEx
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$phpbb_dispatcher = $this->phpbb_dispatcher = new phpbb_mock_event_dispatcher();
|
||||||
|
|
||||||
$phpbb_container = $this->container = new phpbb_mock_container_builder();
|
$phpbb_container = $this->container = new phpbb_mock_container_builder();
|
||||||
|
|
||||||
$this->notifications = new phpbb_notification_manager_helper(
|
$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->container,
|
||||||
$this->user_loader,
|
$this->user_loader,
|
||||||
$this->config,
|
$this->config,
|
||||||
|
$this->phpbb_dispatcher,
|
||||||
$this->db,
|
$this->db,
|
||||||
$this->cache,
|
$this->cache,
|
||||||
$this->user,
|
$this->user,
|
||||||
|
Reference in New Issue
Block a user