Mark a declined message from Firetext as permanent-failure rather than failed.

This commit is contained in:
Rebecca Law
2016-05-24 15:32:48 +01:00
parent 06473431ba
commit fa152c4431
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ def test_should_return_correct_details_for_delivery():
def test_should_return_correct_details_for_bounced():
response_dict = get_firetext_responses('1')
assert response_dict['message'] == 'Declined'
assert response_dict['notification_status'] == 'failed'
assert response_dict['notification_status'] == 'permanent-failure'
assert response_dict['notification_statistics_status'] == 'failure'
assert not response_dict['success']