summaryrefslogtreecommitdiff
path: root/addons/test_mail/tests/test_mail_channel.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/test_mail/tests/test_mail_channel.py')
-rw-r--r--addons/test_mail/tests/test_mail_channel.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/test_mail/tests/test_mail_channel.py b/addons/test_mail/tests/test_mail_channel.py
index 2e3c7c2cb4b..e14fd727eae 100644
--- a/addons/test_mail/tests/test_mail_channel.py
+++ b/addons/test_mail/tests/test_mail_channel.py
@@ -161,6 +161,7 @@ class TestChannelFeatures(TestMailCommon):
""" Posting a message on a mailing list should send one email to all recipients """
self.env['ir.config_parameter'].set_param('mail.catchall.domain', 'schlouby.fr')
self.test_channel.write({'email_send': True})
+ self.user_employee.write({'notification_type': 'email'})
# Subscribe an user without email. We shouldn't try to send email to them.
nomail = self.env['res.users'].create({