Update tests for content changes.

This commit is contained in:
Rebecca Law
2019-09-13 16:00:56 +01:00
committed by Chris Hill-Scott
parent c3d806dd50
commit 18e3eb6b32
9 changed files with 70 additions and 70 deletions

View File

@@ -1934,7 +1934,7 @@ def test_should_not_create_sms_template_with_emoji(
},
_expected_status=200,
)
assert "You cant use 🍜 in text messages." in page.text
assert "You cannot use 🍜 in text messages." in page.text
assert mock_create_service_template.called is False
@@ -1958,7 +1958,7 @@ def test_should_not_update_sms_template_with_emoji(
},
_expected_status=200,
)
assert "You cant use 🍔 in text messages." in page.text
assert "You cannot use 🍔 in text messages." in page.text
assert mock_update_service_template.called is False