[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

@@ -18,7 +18,7 @@ abstract class database_test_case extends \phpbb_database_test_case
protected $db;
public function setUp()
public function setUp(): void
{
parent::setUp();
global $db;

View File

@@ -1,18 +0,0 @@
<?php
/**
*
* @package Board3 Portal Testing
* @copyright (c) Board3 Group ( www.board3.de )
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
namespace board3\portal\tests\testframework;
abstract class ui_test_case extends \phpbb_ui_test_case
{
static protected function setup_extensions()
{
return array('board3/portal');
}
}