[ticket/690] Update test for phpBB 3.2.0 and PHP 7.1 compatibility

B3P-690
This commit is contained in:
Marc Alexander
2017-01-08 22:09:21 +01:00
parent 2b6c85e2cf
commit 7f36382cc6
8 changed files with 91 additions and 34 deletions

View File

@@ -26,7 +26,7 @@ class board3_includes_modules_helper_test extends \board3\portal\tests\testframe
public function setUp()
{
global $phpbb_root_path, $phpEx;
global $phpbb_root_path, $phpEx, $phpbb_dispatcher;
parent::setUp();
@@ -37,6 +37,7 @@ class board3_includes_modules_helper_test extends \board3\portal\tests\testframe
$controller_helper->add_route('board3_portal_controller', 'portal');
$this->modules_helper = new \board3\portal\includes\modules_helper($auth, $this->config, $controller_helper, $request);
$phpbb_dispatcher = new \phpbb_mock_event_dispatcher();
}
public function data_get_disallowed_forums()