mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Restore dao_create_template and use custom template fixture instead
This commit is contained in:
@@ -51,7 +51,7 @@ def create_template(
|
||||
if template_type != SMS_TYPE:
|
||||
data['subject'] = 'Template subject'
|
||||
template = Template(**data)
|
||||
dao_create_template(template, template_id)
|
||||
dao_create_template(template)
|
||||
return template
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user