mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-13 06:54:20 -05:00
Previously, to get the the `.approve_broadcast_message` endpoint, we were issuing a POST request to `.view_current_broadcast`. The `.view_current_broadcast` only has a GET endpoint defined for the `/services/<uuid:service_id>/current-alerts/<uuid:broadcast_message_id>` route, so the request would end up at the `.approve_broadcast_message` which defines the POST endpoint for that path. This changes the tests to POST directly to `.approve_broadcast_message` to avoid confusion.