mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-08 02:38:26 -04:00
Test can get letter template
It works already, just making sure it stays working.
This commit is contained in:
@@ -180,7 +180,7 @@ def sample_template(notify_db,
|
|||||||
'created_by': created_by,
|
'created_by': created_by,
|
||||||
'archived': archived
|
'archived': archived
|
||||||
}
|
}
|
||||||
if template_type == 'email':
|
if template_type in ['email', 'letter']:
|
||||||
data.update({
|
data.update({
|
||||||
'subject': subject_line
|
'subject': subject_line
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -321,6 +321,11 @@ def test_should_get_only_templates_for_that_service(notify_api, sample_user, ser
|
|||||||
None,
|
None,
|
||||||
'hello ((name)) we’ve received your ((thing))',
|
'hello ((name)) we’ve received your ((thing))',
|
||||||
'sms'
|
'sms'
|
||||||
|
),
|
||||||
|
(
|
||||||
|
'about your ((thing))',
|
||||||
|
'hello ((name)) we’ve received your ((thing))',
|
||||||
|
'letter'
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user