Merge pull request #624 from alphagov/sms-sender-no-prefix

Don’t prefix text messages if sender name is set
This commit is contained in:
Chris Hill-Scott
2016-08-26 14:57:12 +01:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -357,7 +357,7 @@ def test_should_send_sms_sender_from_service_if_present(
mmg_client.send_sms.assert_called_once_with(
to=format_phone_number(validate_phone_number("+447234123123")),
content="Sample service: This is a template:\nwith a newline",
content="This is a template:\nwith a newline",
reference=str(db_notification.id),
sender=sample_service.sms_sender
)