summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
Diffstat (limited to 'service/test')
-rw-r--r--service/test/unit/adapter/mailbox_indexer_listener_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/unit/adapter/mailbox_indexer_listener_test.py b/service/test/unit/adapter/mailbox_indexer_listener_test.py
index 1f28ec7b..291739e0 100644
--- a/service/test/unit/adapter/mailbox_indexer_listener_test.py
+++ b/service/test/unit/adapter/mailbox_indexer_listener_test.py
@@ -40,7 +40,7 @@ class MailboxListenerTest(unittest.TestCase):
def test_reindex_missing_idents(self):
search_engine = mock()
- when(search_engine).search('tag:inbox').thenReturn(['ident1', 'ident2'])
+ when(search_engine).search('tag:inbox', all_mails=True).thenReturn(['ident1', 'ident2'])
MailboxIndexerListener.SEARCH_ENGINE = search_engine