summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2015-02-03 17:17:14 -0200
committerDuda Dornelles <ddornell@thoughtworks.com>2015-02-03 17:17:14 -0200
commit543e43ce85bb5d8863dbbf2a458af92d21b018cf (patch)
tree9f2abc8b4a388c48a3e8a537a009c34c12966dd1 /service/test
parentab571c6985a4ef68bade13c2bb2e42a2f014e994 (diff)
Moving mails_resouce render_GET logic to mail_service
Diffstat (limited to 'service/test')
-rw-r--r--service/test/support/integration/app_test_client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/test/support/integration/app_test_client.py b/service/test/support/integration/app_test_client.py
index 8d8d0d1f..45f81cc1 100644
--- a/service/test/support/integration/app_test_client.py
+++ b/service/test/support/integration/app_test_client.py
@@ -67,9 +67,9 @@ class AppTestClient:
self.mail_sender = Mock()
self.tag_service = TagService()
self.draft_service = DraftService(self.mailboxes)
- self.mail_service = MailService(self.mailboxes, self.mail_sender, self.tag_service,
- self.soledad_querier)
self.search_engine = SearchEngine(self.soledad_querier, agent_home=soledad_test_folder)
+ self.mail_service = MailService(self.mailboxes, self.mail_sender, self.tag_service,
+ self.soledad_querier, self.search_engine)
self.search_engine.index_mails(self.mail_service.all_mails())
self.app.resource = RootResource()