15
15
use OCA \Mail \Account ;
16
16
use OCA \Mail \Contracts \IAttachmentService ;
17
17
use OCA \Mail \Contracts \IMailManager ;
18
- use OCA \Mail \Contracts \IMailTransmission ;
19
18
use OCA \Mail \Db \LocalAttachmentMapper ;
20
19
use OCA \Mail \Db \LocalMessage ;
21
20
use OCA \Mail \Db \LocalMessageMapper ;
@@ -57,9 +56,6 @@ class OutboxServiceIntegrationTest extends TestCase {
57
56
/** @var IAttachmentService */
58
57
private $ attachmentService ;
59
58
60
- /** @var IMailTransmission */
61
- private $ transmission ;
62
-
63
59
/** @var OutboxService */
64
60
private $ outbox ;
65
61
@@ -105,7 +101,6 @@ protected function setUp(): void {
105
101
);
106
102
$ this ->client = $ this ->getClient ($ this ->account );
107
103
$ this ->mapper = Server::get (LocalMessageMapper::class);
108
- $ this ->transmission = Server::get (IMailTransmission::class);
109
104
$ this ->eventDispatcher = Server::get (IEventDispatcher::class);
110
105
$ this ->clientFactory = Server::get (IMAPClientFactory::class);
111
106
$ this ->accountService = Server::get (AccountService::class);
@@ -117,7 +112,7 @@ protected function setUp(): void {
117
112
$ delete = $ qb ->delete ($ this ->mapper ->getTableName ());
118
113
$ delete ->execute ();
119
114
120
- $ this ->outbox = new OutboxService ($ this -> transmission ,
115
+ $ this ->outbox = new OutboxService (
121
116
$ this ->mapper ,
122
117
$ this ->attachmentService ,
123
118
$ this ->eventDispatcher ,
0 commit comments