mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 18:31:13 -05:00
Update mmg responses so that 3 is success.
Status codes from mmg are: 2: UNDELIVERABLE Message is undeliverable. 3: DELIVERED Message is delivered. 4: EXPIRED Message is expired. 5: REJECTED Message is rejected.
This commit is contained in:
@@ -2,7 +2,7 @@ from app.clients.sms.mmg import get_mmg_responses
|
||||
|
||||
|
||||
def test_should_return_correct_details_for_delivery():
|
||||
response_dict = get_mmg_responses('0')
|
||||
response_dict = get_mmg_responses('3')
|
||||
assert response_dict['message'] == 'Delivered'
|
||||
assert response_dict['notification_status'] == 'delivered'
|
||||
assert response_dict['notification_statistics_status'] == 'delivered'
|
||||
|
||||
Reference in New Issue
Block a user