The admin app is looking for reply_to_text not reply_to. This will fix the admin app and not affect the public api calls for template versions, they don't use the marshmallow schema

This commit is contained in:
Rebecca Law
2018-02-13 17:12:00 +00:00
parent 16c78a8924
commit c833a76070
2 changed files with 2 additions and 2 deletions

View File

@@ -111,4 +111,4 @@ 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'] == str(letter_contact.id)
assert hist_json_resp['data']['reply_to_text'] == str(letter_contact.id)