[ticket/652] Fix test failures caused by latest changes to phpBB's master

B3P-652
This commit is contained in:
Marc Alexander
2015-09-14 17:52:10 +02:00
parent 2799ba6762
commit e4e5141978
8 changed files with 13 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ class phpbb_unit_modules_calendar_test extends \board3\portal\tests\testframewor
new \phpbb\symfony_request(
new \phpbb_mock_request()
),
new \phpbb\filesystem(),
new \phpbb\filesystem\filesystem(),
new \phpbb_mock_request(),
$phpbb_root_path,
'php'

View File

@@ -40,7 +40,7 @@ class phpbb_unit_modules_welcome_test extends \board3\portal\tests\testframework
parent::setUp();
global $cache, $phpbb_root_path, $phpEx, $phpbb_dispatcher, $request, $config, $phpbb_container;
$config = $this->config = new \phpbb\config\config(array());
$config = $this->config = new \phpbb\config\config(array('allowed_schemes_links' => 'http,https,ftp'));
$this->request = new \phpbb_mock_request();
$request = $this->request;
$this->template = new \board3\portal\tests\mock\template($this);
@@ -77,6 +77,7 @@ class phpbb_unit_modules_welcome_test extends \board3\portal\tests\testframework
new \phpbb\textformatter\data_access($this->db, BBCODES_TABLE, SMILIES_TABLE, STYLES_TABLE, WORDS_TABLE, $phpbb_root_path . 'styles/'),
new \phpbb\cache\driver\dummy(),
$phpbb_dispatcher,
$config,
$phpbb_root_path . 'cache',
'_text_formatter_parser',
'_text_formatter_renderer'