[ticket/715] Resolve issues with portal and tests on PHP 8.0

B3P-715
This commit is contained in:
Marc Alexander
2021-09-04 11:09:52 +02:00
parent 9eb415b79c
commit ed54e3ef0c
30 changed files with 233 additions and 143 deletions

View File

@@ -17,8 +17,8 @@ class board3_includes_helper_test extends \board3\portal\tests\testframework\tes
{
global $phpbb_root_path;
$this->language_file_loader = new \phpbb\language\language_file_loader($phpbb_root_path, 'php');
$this->language = new \phpbb\language\language($this->language_file_loader);
$user = new \board3\portal\tests\mock\user($this->language, '\phpbb\datetime');
$this->language = new \board3\portal\tests\mock\language($this->language_file_loader);
$user = new \phpbb\user($this->language, '\phpbb\datetime');
$config = new \phpbb\config\config(array());
$this->modules = array(