mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15: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
|
@ -35,9 +35,6 @@ class EMailerTest extends MockedTest
|
|||
/** @var BaseURL|MockInterface */
|
||||
private $baseUrl;
|
||||
|
||||
/** @var string */
|
||||
private $defaultHeaders;
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
@ -54,8 +51,6 @@ class EMailerTest extends MockedTest
|
|||
$this->baseUrl = \Mockery::mock(BaseURL::class);
|
||||
$this->baseUrl->shouldReceive('getHostname')->andReturn('friendica.local');
|
||||
$this->baseUrl->shouldReceive('get')->andReturn('http://friendica.local');
|
||||
|
||||
$this->defaultHeaders = [];
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue