mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-25 03:51:44 -05:00
Remove old todo for support of draft to broadcasting transition
It looks like we were allowing broadcasts to transition from draft to broadcasting in one go. This isn't valid now. It should go draft, pending approval and then broadcasting. It looks like this was a leftover bit of support in our code for when we were building stuff out and is no longer needed.
This commit is contained in:
@@ -807,7 +807,7 @@ def test_update_broadcast_message_status_rejects_approval_from_user_not_on_that_
|
||||
(BroadcastStatusType.BROADCASTING, BroadcastStatusType.PENDING_APPROVAL),
|
||||
(BroadcastStatusType.COMPLETED, BroadcastStatusType.BROADCASTING),
|
||||
(BroadcastStatusType.CANCELLED, BroadcastStatusType.DRAFT),
|
||||
pytest.param(BroadcastStatusType.DRAFT, BroadcastStatusType.BROADCASTING, marks=pytest.mark.xfail()),
|
||||
(BroadcastStatusType.DRAFT, BroadcastStatusType.BROADCASTING),
|
||||
])
|
||||
def test_update_broadcast_message_status_restricts_status_transitions_to_explicit_list(
|
||||
admin_request,
|
||||
|
||||
Reference in New Issue
Block a user