fix: declare all properties in unit tests
Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
Родитель
309a4aff5a
Коммит
3955d514f5
|
@ -34,6 +34,8 @@ class AntiSpamServiceTest extends TestCase {
|
|||
private SmtpClientFactory|MockObject $smtpClientFactory;
|
||||
private MockObject|ImapMessageMapper $imapMessageMapper;
|
||||
private LoggerInterface|MockObject $logger;
|
||||
private MockObject|IMailTransmission $transmission;
|
||||
private MailManager|MockObject $mailManager;
|
||||
|
||||
protected function setUp(): void {
|
||||
parent::setUp();
|
||||
|
|
|
@ -63,6 +63,7 @@ class OutboxServiceTest extends TestCase {
|
|||
|
||||
/** @var MockObject|LoggerInterface */
|
||||
private $logger;
|
||||
private MockObject|Chain $chain;
|
||||
|
||||
protected function setUp(): void {
|
||||
parent::setUp();
|
||||
|
|
Загрузка…
Ссылка в новой задаче