Make getting a service return prefix_sms column

This gives us the confidence to remove references to the computed
column in https://github.com/alphagov/notifications-admin/pull/1619
This commit is contained in:
Chris Hill-Scott
2017-11-10 08:49:48 +00:00
parent 4eaa482b2d
commit 492462d4f9

View File

@@ -159,6 +159,7 @@ def test_get_service_by_id(client, sample_service):
assert json_resp['data']['dvla_organisation'] == '001'
assert json_resp['data']['sms_sender'] == current_app.config['FROM_NUMBER']
assert json_resp['data']['prefix_sms_with_service_name'] is True
assert json_resp['data']['prefix_sms'] is True
def test_get_service_by_id_returns_free_sms_limit(client, sample_service):