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:
David McDonald
2021-06-15 17:18:54 +01:00
parent 6d09313b18
commit 54fe8ee68d
2 changed files with 2 additions and 5 deletions

View File

@@ -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,