mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 00:11:16 -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),
|
encryption.encrypt(notification),
|
||||||
now.strftime(DATETIME_FORMAT)
|
now.strftime(DATETIME_FORMAT)
|
||||||
)
|
)
|
||||||
assert Notification.query.count() == 1
|
persisted_notification = Notification.query.one()
|
||||||
persisted_notification = Notification.query.all()[0]
|
|
||||||
assert persisted_notification.to == 'my_email@my_email.com'
|
assert persisted_notification.to == 'my_email@my_email.com'
|
||||||
assert persisted_notification.template_id == sample_email_template.id
|
assert persisted_notification.template_id == sample_email_template.id
|
||||||
assert persisted_notification.created_at == now
|
assert persisted_notification.created_at == now
|
||||||
|
|||||||
Reference in New Issue
Block a user