Fix tests
- Fix InstallerTest case - Fix native function mocking - Add returntype for Unit-Tests - Fixing ExtendedPDO test troubles - Fix wrong class inheritance path for DatabaseTestTrait.php - Fix SyslogLogger Server Exception for PHP8 - Add user/contact to database.fixture.php - Avoid invalid rollbacks for test setup in PHP8
This commit is contained in:
@@ -35,7 +35,7 @@ class EMailerTest extends MockedTest
|
||||
/** @var BaseURL|MockInterface */
|
||||
private $baseUrl;
|
||||
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
@@ -53,7 +53,7 @@ class EMailerTest extends MockedTest
|
||||
$this->baseUrl->shouldReceive('get')->andReturn('http://friendica.local');
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
EmailerSpy::$MAIL_DATA = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user