Revert "Tailor message-too-long error message depending on the notification type"

This commit is contained in:
Katie Smith
2020-11-03 10:55:15 +00:00
committed by GitHub
parent 184db4fa5d
commit c4075f1fc0
5 changed files with 18 additions and 42 deletions

View File

@@ -318,7 +318,7 @@ def test_send_one_off_notification_raises_if_message_too_long(persist_mock, noti
send_one_off_notification(service.id, post_data)
assert e.value.message == f'Text messages cannot be longer than {SMS_CHAR_COUNT_LIMIT} characters. ' \
f'Your message is {1029} characters long.'
f'Your message is {1029} characters'
def test_send_one_off_notification_fails_if_created_by_other_service(sample_template):