[ticket/690] Adjust setUp() declaration and classes
B3P-690
This commit is contained in:
@@ -12,7 +12,7 @@ require_once(dirname(__FILE__) . '/../../../../../../includes/functions.php');
|
||||
|
||||
class phpbb_functions_check_file_src_test extends \board3\portal\tests\testframework\database_test_case
|
||||
{
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
global $phpbb_root_path, $portal_root_path;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ class phpbb_functions_fetch_news_test extends \board3\portal\tests\testframework
|
||||
{
|
||||
protected $default_main_columns = array('topic_count', 'global_id', 'topic_icons');
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ class phpbb_unit_functions_functions_test extends \board3\portal\tests\testframe
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/styles.xml');
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
global $cache, $user, $phpbb_root_path;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ class phpbb_unit_functions_get_user_groups_test extends \board3\portal\tests\tes
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/user_groups.xml');
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
global $cache, $user, $phpbb_root_path;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
class phpbb_functions_simple_test extends PHPUnit_Framework_TestCase
|
||||
class phpbb_functions_simple_test extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function test_ap_validate()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user