Select only recipient emails from the db

This commit is contained in:
richard-dds
2019-05-15 10:17:03 -04:00
parent d3b42d5bfc
commit 97b9d84c38
2 changed files with 4 additions and 5 deletions

View File

@@ -23,5 +23,5 @@ def test_can_send_notification(mock_queue, notification_sender):
notification_sender.send(email_body)
mock_queue.send_mail.assert_called_once_with(
["test@example.com"], notification_sender.EMAIL_SUBJECT, email_body
("test@example.com",), notification_sender.EMAIL_SUBJECT, email_body
)