mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
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:
@@ -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
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user