mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Firetext does not have a status code for temporary-failure.
In order to set a message as temporary-failure, we check if it is in pending status first. Otherwise a delivery receipt for failure is set to permanent failure.
This commit is contained in:
@@ -22,8 +22,8 @@ def test_should_return_correct_details_for_bounced():
|
||||
def test_should_return_correct_details_for_complaint():
|
||||
response_dict = get_firetext_responses('2')
|
||||
assert response_dict['message'] == 'Undelivered (Pending with Network)'
|
||||
assert response_dict['notification_status'] == 'delivered'
|
||||
assert response_dict['notification_statistics_status'] == 'delivered'
|
||||
assert response_dict['notification_status'] == 'pending'
|
||||
assert response_dict['notification_statistics_status'] is None
|
||||
assert response_dict['success']
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user