[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

@@ -19,7 +19,7 @@ class helper_test extends \board3\portal\tests\testframework\test_case
static public $redirect = false;
public function setUp()
public function setUp(): void
{
global $cache, $phpbb_extension_manager, $phpbb_root_path;

View File

@@ -25,7 +25,7 @@ class main_test extends \board3\portal\tests\testframework\database_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/../acp/fixtures/modules.xml');
}
public function setUp()
public function setUp(): void
{
global $phpbb_root_path, $phpEx, $table_prefix, $cache;