mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-27 13:51:12 -05:00
This takes a similar approach as in the previous commit. Since the "training channel" doesn't really exist, we need some extra code to pre-select it if a service is already in training mode. As in the previous commit, I've removed a few non-critical test cases where we really don't need to test exhaustively. Note that we also need some specific code to avoid pre-selecting an option for non-broadcast services, which only used to work by fluke: we would try to populate the field with (False, None, 'all'), which isn't a valid combination, so nothing was selected.