When APRS connection is disabled (in test environment), the LiveView should show 'disconnected' status instead of hardcoded 'connected'. This fixes the failing aprs_status_test. Add get_initial_connection_status/0 helper that checks the disable_aprs_connection config to set the appropriate initial status. |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| live | ||
| plugs | ||
| aprs_symbol.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| router.ex | ||
| telemetry.ex | ||
| time_helpers.ex | ||
| time_utils.ex | ||
| user_auth.ex | ||
| weather_units.ex | ||