[ticket/294] Remove scrutinizer issues introduced recently
B3P-294
This commit is contained in:
@@ -38,6 +38,7 @@ class phpbb_acp_move_module_test extends \board3\portal\tests\testframework\data
|
||||
new \board3\portal\modules\welcome($config, new \phpbb_mock_request, $this->db, $user, $phpbb_root_path, $phpEx),
|
||||
new \board3\portal\modules\donation($config, $template, $user),
|
||||
));
|
||||
$phpbb_container->set('board3.portal.helper', new \board3\portal\includes\helper($phpbb_container->get('board3.module_collection')));
|
||||
$phpbb_container->setParameter('board3.modules.table', $table_prefix . 'portal_modules');
|
||||
$phpbb_container->setParameter('board3.config.table', $table_prefix . 'portal_config');
|
||||
$cache = $this->getMock('\phpbb\cache\cache', array('destroy', 'sql_exists', 'get', 'put'));
|
||||
|
||||
@@ -50,4 +50,9 @@ class board3_includes_helper_test extends \board3\portal\tests\testframework\tes
|
||||
}
|
||||
$this->assertEquals($expected, $this->portal_helper->get_module($module_name));
|
||||
}
|
||||
|
||||
public function test_get_all_modules()
|
||||
{
|
||||
$this->assertEquals($this->modules, $this->portal_helper->get_all_modules());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user