mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-25 20:12:54 -05:00
Added a boolean column to templates called is_letter_contact_blank.
If is_letter_contact_blank then the user has set the letter contact block to be blank on purpose ELSE IF is_letter_contact_blank is false THEN use the template default IF template default is blank THEN the service_letter_contact is blank use the service default
This commit is contained in:
@@ -623,6 +623,7 @@ def test_get_template_reply_to(client, sample_letter_template):
|
||||
|
||||
assert 'service_letter_contact_id' not in json_resp['data']
|
||||
assert json_resp['data']['reply_to'] == letter_contact.contact_block
|
||||
assert not json_resp['data']['is_letter_contact_blank']
|
||||
|
||||
|
||||
def test_update_template_reply_to(client, sample_letter_template):
|
||||
|
||||
Reference in New Issue
Block a user