mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +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
|
@ -53,6 +53,8 @@ class ProfilerTest extends MockedTest
|
|||
->andReturn(true)
|
||||
->twice();
|
||||
$profiler = new Profiler($configCache);
|
||||
|
||||
self::assertInstanceOf(Profiler::class, $profiler);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -141,7 +143,7 @@ class ProfilerTest extends MockedTest
|
|||
* Test the Profiler reset
|
||||
* @dataProvider dataPerformance
|
||||
*/
|
||||
public function testReset($timestamp, $name, array $functions)
|
||||
public function testReset($timestamp, $name)
|
||||
{
|
||||
$configCache = \Mockery::mock(Cache::class);
|
||||
$configCache->shouldReceive('get')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue