Update service schema to add letter_logo_filename

Added the filename of a service's letter logo to the service schema. We want
this in the schema so that it is possible to call
`current_service.letter_logo_filename` from notifications-admin and to pass this value
through to template-preview.
This commit is contained in:
Katie Smith
2018-10-16 14:50:10 +01:00
parent e0056aad3f
commit e7f0a414ce
2 changed files with 5 additions and 0 deletions

View File

@@ -139,6 +139,7 @@ def test_get_service_by_id(admin_request, sample_service):
assert json_resp['data']['dvla_organisation'] == '001'
assert json_resp['data']['prefix_sms'] is True
assert json_resp['data']['postage'] == 'second'
assert json_resp['data']['letter_logo_filename'] == 'hm-government'
@pytest.mark.parametrize('detailed', [True, False])