mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 16:01:15 -05:00
Missed one
This commit is contained in:
@@ -742,8 +742,7 @@ def test_should_use_email_template_and_persist_without_personalisation(sample_em
|
||||
encryption.encrypt(notification),
|
||||
now.strftime(DATETIME_FORMAT)
|
||||
)
|
||||
assert Notification.query.count() == 1
|
||||
persisted_notification = Notification.query.all()[0]
|
||||
persisted_notification = Notification.query.one()
|
||||
assert persisted_notification.to == 'my_email@my_email.com'
|
||||
assert persisted_notification.template_id == sample_email_template.id
|
||||
assert persisted_notification.created_at == now
|
||||
|
||||
Reference in New Issue
Block a user