Fix bug where preview for templated letters would not show

This commit is contained in:
Pea Tyczynska
2020-04-20 15:22:49 +01:00
parent c0343324c4
commit 7a89b1b835
3 changed files with 6 additions and 3 deletions

View File

@@ -82,7 +82,8 @@ def test_get_letters_pdf_calls_notifications_template_preview_service_correctly(
'filename': filename,
'template': {
'subject': sample_letter_template.subject,
'content': sample_letter_template.content
'content': sample_letter_template.content,
'template_type': sample_letter_template.template_type
}
}