Allow "government" in broadcast_channel schema

This will allow admin to pass through a value of "government" for the
broadcast_channel. We don't have any logic around the value of service.broadcast_channel,
so no updates are needed to the tasks etc.
This commit is contained in:
Katie Smith
2021-05-11 16:52:07 +01:00
parent 7eed63eb80
commit 829b646931
3 changed files with 6 additions and 4 deletions

View File

@@ -221,7 +221,7 @@ def test_send_broadcast_provider_message_sends_data_correctly(
['o2', 'O2'],
['vodafone', 'Vodafone'],
])
@pytest.mark.parametrize('channel', ['test', 'severe'])
@pytest.mark.parametrize('channel', ['test', 'severe', 'government'])
def test_send_broadcast_provider_message_uses_channel_set_on_broadcast_service(
notify_db, mocker, sample_broadcast_service, provider, provider_capitalised, channel
):