[ticket/289] Add missing class variable to modules_helper
This commit is contained in:
@@ -51,7 +51,7 @@ class phpbb_functions_fetch_news_test extends \board3\portal\tests\testframework
|
||||
$this->auth = $auth;
|
||||
$this->user = $user;
|
||||
$phpbb_container = new \phpbb_mock_container_builder();
|
||||
$this->modules_helper = new \board3\portal\includes\modules_helper($auth);
|
||||
$this->modules_helper = new \board3\portal\includes\modules_helper($auth, $this->config);
|
||||
$phpbb_container->set('board3.portal.modules_helper', $this->modules_helper);
|
||||
$phpbb_container->set('board3.portal.fetch_posts', new \board3\portal\portal\fetch_posts($auth, $cache, $this->config, $this->db, $this->modules_helper, $user));
|
||||
$template = $this->getMock('\phpbb\template', array('set_filenames', 'destroy_block_vars', 'assign_block_vars', 'assign_display'));
|
||||
|
||||
Reference in New Issue
Block a user