Fix typo and update test now that we expect sent for international

This commit is contained in:
Imdad Ahad
2017-04-27 16:57:04 +01:00
parent c5bd685cef
commit e450f15b2b
2 changed files with 40 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ def send_sms_to_provider(notification):
else:
try:
provider.send_sms(
to=validate_and_format_phone_number(notification.to, internationl=notification.international),
to=validate_and_format_phone_number(notification.to, international=notification.international),
content=str(template),
reference=str(notification.id),
sender=service.sms_sender