mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 20:24:08 +02:00
[ticket/16549] PHPUnit function declarations tiny cleanup
PHPBB3-16549
This commit is contained in:
@@ -38,7 +38,7 @@ class phpbb_session_check_ban_test extends phpbb_session_test_case
|
||||
);
|
||||
}
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
// Get session here so that config is mocked correctly
|
||||
@@ -60,7 +60,7 @@ class phpbb_session_check_ban_test extends phpbb_session_test_case
|
||||
);
|
||||
}
|
||||
|
||||
public function tearDown(): void
|
||||
protected function tearDown(): void
|
||||
{
|
||||
parent::tearDown();
|
||||
// Set cache back to what it was before the test changed it
|
||||
|
@@ -22,7 +22,7 @@ class phpbb_session_garbage_collection_test extends phpbb_session_test_case
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/sessions_garbage.xml');
|
||||
}
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
$this->session = $this->session_factory->get_session($this->db);
|
||||
|
Reference in New Issue
Block a user