Change the name of letter_class to postage, this will match the domain language used in the documentation.

Updated the tests to answer review comments.
This commit is contained in:
Rebecca Law
2018-09-18 15:22:08 +01:00
parent efb618e956
commit 1c0892888f
8 changed files with 74 additions and 94 deletions

View File

@@ -138,7 +138,7 @@ def test_get_service_by_id(admin_request, sample_service):
assert 'branding' not in json_resp['data']
assert json_resp['data']['dvla_organisation'] == '001'
assert json_resp['data']['prefix_sms'] is True
assert json_resp['data']['letter_class'] == 'second'
assert json_resp['data']['postage'] == 'second'
@pytest.mark.parametrize('detailed', [True, False])