mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Remove redundant force_overrride feature
This is no longer needed as all areas data has now been migrated.
This commit is contained in:
@@ -415,10 +415,6 @@ def test_update_broadcast_message_allows_edit_while_not_yet_live(
|
||||
assert response['updated_at'] is not None
|
||||
|
||||
|
||||
@pytest.mark.parametrize('force_override', [
|
||||
False,
|
||||
pytest.param(True, marks=pytest.mark.xfail)
|
||||
])
|
||||
@pytest.mark.parametrize('status', [
|
||||
BroadcastStatusType.BROADCASTING,
|
||||
BroadcastStatusType.CANCELLED,
|
||||
@@ -426,7 +422,6 @@ def test_update_broadcast_message_allows_edit_while_not_yet_live(
|
||||
BroadcastStatusType.TECHNICAL_FAILURE,
|
||||
])
|
||||
def test_update_broadcast_message_doesnt_allow_edits_after_broadcast_goes_live(
|
||||
force_override,
|
||||
admin_request,
|
||||
sample_broadcast_service,
|
||||
status
|
||||
@@ -436,7 +431,7 @@ def test_update_broadcast_message_doesnt_allow_edits_after_broadcast_goes_live(
|
||||
|
||||
response = admin_request.post(
|
||||
'broadcast_message.update_broadcast_message',
|
||||
_data={'force_override': force_override, 'areas': {'ids': ['london', 'glasgow']}},
|
||||
_data={'areas': {'ids': ['london', 'glasgow']}},
|
||||
service_id=t.service_id,
|
||||
broadcast_message_id=bm.id,
|
||||
_expected_status=400
|
||||
|
||||
Reference in New Issue
Block a user