summaryrefslogtreecommitdiff
path: root/service/test/integration
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/integration')
-rw-r--r--service/test/integration/test_incoming_mail.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/service/test/integration/test_incoming_mail.py b/service/test/integration/test_incoming_mail.py
index 8a5540dc..682ca118 100644
--- a/service/test/integration/test_incoming_mail.py
+++ b/service/test/integration/test_incoming_mail.py
@@ -25,12 +25,11 @@ class IncomingMailTest(SoledadTestBase):
@defer.inlineCallbacks
def test_message_collection(self):
# given
- MailboxIndexerListener.SEARCH_ENGINE = self.search_engine
mbx = yield self.account.getMailbox('INBOX')
input_mail = MailBuilder().build_input_mail()
# when
- yield MailboxIndexerListener.listen(self.account, 'INBOX', self.mail_store)
+ yield MailboxIndexerListener.listen(self.account, 'INBOX', self.mail_store, self.search_engine)
yield mbx.addMessage(input_mail.raw, [], notify_just_mdoc=False)
# then