Skip to content

Commit

Permalink
fix: declare all properties in unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Larch <[email protected]>
  • Loading branch information
miaulalala committed Jun 26, 2024
1 parent 309a4af commit 3955d51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Unit/Service/AntiSpamServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Service/OutboxServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class OutboxServiceTest extends TestCase {

/** @var MockObject|LoggerInterface */
private $logger;
private MockObject|Chain $chain;

protected function setUp(): void {
parent::setUp();
Expand Down

0 comments on commit 3955d51

Please sign in to comment.