diff --git a/tests/app/celery/test_process_pinpoint_receipt_tasks.py b/tests/app/celery/test_process_pinpoint_receipt_tasks.py index b414871b70..80ec00302b 100644 --- a/tests/app/celery/test_process_pinpoint_receipt_tasks.py +++ b/tests/app/celery/test_process_pinpoint_receipt_tasks.py @@ -16,6 +16,7 @@ NOTIFICATION_PERMANENT_FAILURE, PINPOINT_PROVIDER, STATUS_REASON_BLOCKED, + STATUS_REASON_INVALID_NUMBER, STATUS_REASON_RETRYABLE, STATUS_REASON_UNDELIVERABLE, ) @@ -27,7 +28,7 @@ [ ('_SMS.BUFFERED', 'SUCCESSFUL', NOTIFICATION_DELIVERED, None), ('_SMS.SUCCESS', 'DELIVERED', NOTIFICATION_DELIVERED, None), - ('_SMS.FAILURE', 'INVALID', NOTIFICATION_PERMANENT_FAILURE, STATUS_REASON_UNDELIVERABLE), + ('_SMS.FAILURE', 'INVALID', NOTIFICATION_PERMANENT_FAILURE, STATUS_REASON_INVALID_NUMBER), ('_SMS.FAILURE', 'UNREACHABLE', NOTIFICATION_TEMPORARY_FAILURE, STATUS_REASON_RETRYABLE), ('_SMS.FAILURE', 'UNKNOWN', NOTIFICATION_TEMPORARY_FAILURE, STATUS_REASON_RETRYABLE), ('_SMS.FAILURE', 'BLOCKED', NOTIFICATION_PERMANENT_FAILURE, STATUS_REASON_BLOCKED),