mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
The string that is returned from get_alert_from_message is dependent upon the same message that is passed into get_apns_payload and get_gcm_payload. The contents of those payloads that are tested via TestGetAPNsPayload and TestGetGCMPayload, which makes the tests for get_alert_from_message redundant. Also, simplify the logic by removing the last elif conditional.
28 KiB
28 KiB