[ticket/690] Adjust setUp() declaration and classes
B3P-690
This commit is contained in:
@@ -31,7 +31,7 @@ class phpbb_unit_modules_birthday_list_test extends \board3\portal\tests\testfra
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/users.xml');
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
global $auth, $phpbb_dispatcher, $phpbb_root_path;
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -20,7 +20,7 @@ class phpbb_unit_modules_clock_test extends \board3\portal\tests\testframework\t
|
||||
/** @var \phpbb\config\config */
|
||||
protected $config;
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ class phpbb_unit_modules_module_base_test extends \board3\portal\tests\testframe
|
||||
/** @var \board3\portal\modules\module_base */
|
||||
protected $module_base;
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ class phpbb_unit_modules_search_test extends \board3\portal\tests\testframework\
|
||||
/** @var \board3\portal\modules\search */
|
||||
protected $search;
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class phpbb_unit_modules_welcome_test extends \board3\portal\tests\testframework
|
||||
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, $config, $phpbb_container, $user;
|
||||
|
||||
Reference in New Issue
Block a user