Send api the broadcast provider restriction of 'all', not 'None'

We're replacing the value of None with the value of all. API has been
updated to accept both values
(1767535def)
so this change starts sending notifications-api the value of "all".
This commit is contained in:
Katie Smith
2021-05-10 12:35:11 +01:00
parent a270d631e7
commit 2f9e2dbc9d
2 changed files with 3 additions and 3 deletions

View File

@@ -5524,9 +5524,9 @@ def test_get_service_set_broadcast_account_type_has_radio_selected_for_broadcast
@pytest.mark.parametrize(
'value,service_mode,broadcast_channel,allowed_broadcast_provider',
[
("training-test", "training", "test", None),
("training-test", "training", "test", "all"),
("live-test-vodafone", "live", "test", "vodafone"),
("live-severe", "live", "severe", None),
("live-severe", "live", "severe", "all"),
]
)
def test_post_service_set_broadcast_account_type_posts_data_to_api_and_redirects(