Handle case for international SMS - use correct phone validator, and also set status correctly.

This relies on some other code so this commit has placeholder failing tests to be populated when other PRs are merged.
This commit is contained in:
Martyn Inglis
2017-04-27 13:22:17 +01:00
committed by Imdad Ahad
parent 1b483f5f1e
commit 349fb3529e
4 changed files with 28 additions and 7 deletions

View File

@@ -474,6 +474,7 @@ def test_should_update_billable_units_according_to_research_mode_and_key_type(no
assert sample_notification.billable_units == billable_units
<<<<<<< HEAD
def test_should_send_sms_to_international_providers(
restore_provider_details,
sample_sms_template_with_html,
@@ -530,3 +531,11 @@ def test_should_send_sms_to_international_providers(
assert notification_uk.sent_by == 'firetext'
assert notification_int.status == 'sending'
assert notification_int.sent_by == 'mmg'
def test_should_send_international_sms_with_formatted_phone_number():
assert 1 == 2
def test_should_set_international_phone_number_to_sent_status():
assert 1 == 2