diff --git a/app/delivery/send_to_providers.py b/app/delivery/send_to_providers.py index 16edc8b858..b2d80b9bcd 100644 --- a/app/delivery/send_to_providers.py +++ b/app/delivery/send_to_providers.py @@ -125,6 +125,11 @@ def send_sms_to_provider(notification): if reference == "opted_out": update_notification_to_opted_out(notification, provider) else: + if ( + validate_and_format_phone_number(notification.to, international=notification.international) + == current_app.config["INTERNAL_TEST_NUMBER"] + ): + send_sms_response(provider.get_name(), notification.to, reference) update_notification_to_sending(notification, provider) # Record StatsD stats to compute SLOs