| 1 | import 'package:test/test.dart'; |
| 2 | import 'package:openapi/openapi.dart'; |
| 3 | |
| 4 | |
| 5 | /// tests for FlightAlertsApi |
| 6 | void main() { |
| 7 | final instance = Openapi() |
| 8 | |
| 9 | group(FlightAlertsApi, () { |
| 10 | // Subscribe to push alerts for a flight |
| 11 | // |
| 12 | // Registers a OneSignal subscription (player) ID to receive push notifications when this flight changes (status, gate, terminal, delays, baggage claim, airport delays). |
| 13 | // |
| 14 | //Future flightAlertsControllerSubscribeV1(String id, FlightAlertDTO flightAlertDTO) async |
| 15 | test('test flightAlertsControllerSubscribeV1', () async { |
| 16 | // TODO |
| 17 | }); |
| 18 | |
| 19 | // Unsubscribe from push alerts for a flight |
| 20 | // |
| 21 | // Removes a OneSignal subscription (player) ID from a flight’s alert list. Tracking stops once no devices remain. |
| 22 | // |
| 23 | //Future flightAlertsControllerUnsubscribeV1(String id, FlightAlertDTO flightAlertDTO) async |
| 24 | test('test flightAlertsControllerUnsubscribeV1', () async { |
| 25 | // TODO |
| 26 | }); |
| 27 | |
| 28 | }); |
| 29 | } |