Deprecate service branding column

We want to drop this column. First we have to stop using it anywhere.

Needs to be made nullable so we can stop writing to it.
This commit is contained in:
Chris Hill-Scott
2018-08-30 15:51:39 +01:00
parent 6a57411fa0
commit 337496c5bc
7 changed files with 35 additions and 22 deletions

View File

@@ -135,7 +135,7 @@ def test_get_service_by_id(admin_request, sample_service):
assert json_resp['data']['id'] == str(sample_service.id)
assert not json_resp['data']['research_mode']
assert json_resp['data']['email_branding'] is None
assert json_resp['data']['branding'] == 'govuk'
assert 'branding' not in json_resp['data']
assert json_resp['data']['dvla_organisation'] == '001'
assert json_resp['data']['prefix_sms'] is True