Avoid call to database to get template in persist_notifications

This commit is contained in:
Pea Tyczynska
2019-01-14 17:45:56 +00:00
parent 685bff40d1
commit 5ebeb9937a
7 changed files with 13 additions and 6 deletions

View File

@@ -504,6 +504,7 @@ def test_persist_letter_notification_finds_correct_postage(
persist_notification(
template_id=template.id,
template_version=template.version,
template_postage=template.postage,
recipient="Jane Doe, 10 Downing Street, London",
service=service,
personalisation=None,