Add operator channel to broadcast settings route

Looks identical to the government channel in terms of the interface
This commit is contained in:
David McDonald
2021-06-09 13:49:06 +01:00
parent d18bf2c48a
commit be035664c4
3 changed files with 5 additions and 3 deletions

View File

@@ -290,9 +290,11 @@ def test_get_service_by_id(admin_request, sample_service):
@pytest.mark.parametrize('broadcast_channel,allowed_broadcast_provider', (
('operator', 'all'),
('test', 'all'),
('severe', 'all'),
('government', 'all'),
('operator', 'o2'),
('test', 'ee'),
('severe', 'three'),
('government', 'vodafone'),
@@ -3711,7 +3713,7 @@ def test_get_returned_letter(admin_request, sample_letter_template):
assert response[4]['uploaded_letter_file_name'] == 'filename.pdf'
@pytest.mark.parametrize('channel', ["test", "severe", "government"])
@pytest.mark.parametrize('channel', ["operator", "test", "severe", "government"])
def test_set_as_broadcast_service_sets_broadcast_channel(
admin_request, sample_service, broadcast_organisation, channel
):