ensure template history serializes using template serialize fn

This commit is contained in:
Leo Hemsted
2017-08-09 12:24:35 +01:00
parent c9762f75a1
commit da02ffa32f
4 changed files with 10 additions and 18 deletions

View File

@@ -217,4 +217,4 @@ def test_email_notification_serializes_with_subject(client, sample_email_templat
def test_letter_notification_serializes_with_subject(client, sample_letter_template):
res = sample_letter_template.serialize()
assert res['subject'] == 'Template Subject'
assert res['subject'] == 'Template subject'