From 3de93cbcd0eabe309156954691786231ccd7aaa2 Mon Sep 17 00:00:00 2001 From: Imdad Ahad Date: Thu, 27 Apr 2017 12:42:45 +0100 Subject: [PATCH] Assume that we will only receive a UK number: * We currently don't validate the number so this test * will fail assuming an invalid number was passed. * Since we do validation on the front end, for now * we'll assume a valid number. This does need to be * looked at in future. --- tests/app/user/test_rest_verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/user/test_rest_verify.py b/tests/app/user/test_rest_verify.py index 1e08115a9..08f510bbd 100644 --- a/tests/app/user/test_rest_verify.py +++ b/tests/app/user/test_rest_verify.py @@ -230,7 +230,7 @@ def test_send_user_code_for_sms_with_optional_to_field(client, """ Tests POST endpoint /user//sms-code with optional to field """ - to_number = '+441119876757' + to_number = '+447119876757' mocked = mocker.patch('app.user.rest.create_secret_code', return_value='11111') mocker.patch('app.celery.provider_tasks.deliver_sms.apply_async') auth_header = create_authorization_header()