mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Updated the schema to return reply_to - which is the id and reply_to_text which is the contact_block
This commit is contained in:
@@ -111,4 +111,5 @@ def test_update_template_reply_to_updates_history(client, sample_letter_template
|
||||
|
||||
hist_json_resp = json.loads(resp.get_data(as_text=True))
|
||||
assert 'service_letter_contact_id' not in hist_json_resp['data']
|
||||
assert hist_json_resp['data']['reply_to_text'] == str(letter_contact.id)
|
||||
assert hist_json_resp['data']['reply_to'] == str(letter_contact.id)
|
||||
assert hist_json_resp['data']['reply_to_text'] == letter_contact.contact_block
|
||||
|
||||
Reference in New Issue
Block a user