mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:10:11 +00:00
Fix a lot of notices/warnings/deprecation notes in the test directory
This commit is contained in:
parent
efaec26b1d
commit
d55ecb9288
77 changed files with 428 additions and 558 deletions
|
@ -69,7 +69,7 @@ abstract class PConfigTest extends MockedTest
|
|||
/**
|
||||
* @return BasePConfig
|
||||
*/
|
||||
public abstract function getInstance();
|
||||
abstract public function getInstance();
|
||||
|
||||
public function dataTests()
|
||||
{
|
||||
|
@ -159,9 +159,8 @@ abstract class PConfigTest extends MockedTest
|
|||
|
||||
/**
|
||||
* Test the configuration initialization
|
||||
* @dataProvider dataConfigLoad
|
||||
*/
|
||||
public function testSetUp(int $uid, array $data)
|
||||
public function testSetUp()
|
||||
{
|
||||
$this->testedConfig = $this->getInstance();
|
||||
self::assertInstanceOf(Cache::class, $this->testedConfig->getCache());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue