Skip to content

Commit 511d6b4

Browse files
fixup! refactor: remove unused properties
Signed-off-by: Christoph Wurst <[email protected]>
1 parent ab80bda commit 511d6b4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/Integration/Service/OutboxServiceIntegrationTest.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use OCA\Mail\Account;
1616
use OCA\Mail\Contracts\IAttachmentService;
1717
use OCA\Mail\Contracts\IMailManager;
18-
use OCA\Mail\Contracts\IMailTransmission;
1918
use OCA\Mail\Db\LocalAttachmentMapper;
2019
use OCA\Mail\Db\LocalMessage;
2120
use OCA\Mail\Db\LocalMessageMapper;
@@ -57,9 +56,6 @@ class OutboxServiceIntegrationTest extends TestCase {
5756
/** @var IAttachmentService */
5857
private $attachmentService;
5958

60-
/** @var IMailTransmission */
61-
private $transmission;
62-
6359
/** @var OutboxService */
6460
private $outbox;
6561

@@ -105,7 +101,6 @@ protected function setUp(): void {
105101
);
106102
$this->client = $this->getClient($this->account);
107103
$this->mapper = Server::get(LocalMessageMapper::class);
108-
$this->transmission = Server::get(IMailTransmission::class);
109104
$this->eventDispatcher = Server::get(IEventDispatcher::class);
110105
$this->clientFactory = Server::get(IMAPClientFactory::class);
111106
$this->accountService = Server::get(AccountService::class);
@@ -117,7 +112,7 @@ protected function setUp(): void {
117112
$delete = $qb->delete($this->mapper->getTableName());
118113
$delete->execute();
119114

120-
$this->outbox = new OutboxService($this->transmission,
115+
$this->outbox = new OutboxService(
121116
$this->mapper,
122117
$this->attachmentService,
123118
$this->eventDispatcher,

0 commit comments

Comments
 (0)