[ticket/690] Adjust setUp() declaration and classes

B3P-690
This commit is contained in:
Marc Alexander
2021-08-27 21:30:59 +02:00
parent 5b62c517e5
commit 7ee3bd1727
32 changed files with 32 additions and 79 deletions

View File

@@ -35,7 +35,7 @@ class phpbb_unit_modules_calendar_test extends \board3\portal\tests\testframewor
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/configs.xml');
}
public function setUp()
public function setUp(): void
{
parent::setUp();
global $cache, $phpbb_root_path, $phpEx, $phpbb_dispatcher, $request, $user;
@@ -122,7 +122,7 @@ class phpbb_unit_modules_calendar_test extends \board3\portal\tests\testframewor
{
$this->expected_config[$key] = $value;
}
$portal_config = obtain_portal_config();
foreach ($portal_config as $key => $value)