Fix tests after enabling editing of postage on letter templates

This commit is contained in:
Pea Tyczynska
2018-12-19 17:06:09 +00:00
parent 695f1150b5
commit e1191326f4
3 changed files with 29 additions and 17 deletions

View File

@@ -214,6 +214,7 @@ def template_json(service_id,
reply_to=None,
reply_to_text=None,
is_precompiled_letter=False,
postage=None
):
template = {
'id': id_,
@@ -230,6 +231,7 @@ def template_json(service_id,
'reply_to_text': reply_to_text,
'is_precompiled_letter': is_precompiled_letter,
'folder': None,
'postage': postage
}
if content is None:
template['content'] = "template content"