mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 18:31:13 -05:00
fix tests
This commit is contained in:
@@ -116,9 +116,7 @@ def test_should_send_personalised_template_to_correct_sms_provider_and_persist(
|
||||
def test_should_send_personalised_template_to_correct_email_provider_and_persist(
|
||||
sample_email_template_with_html, mocker
|
||||
):
|
||||
mock_redis = mocker.patch(
|
||||
"app.delivery.send_to_providers._get_verify_code", return_value=None
|
||||
)
|
||||
|
||||
utf8_encoded_email = "jo.smith@example.com".encode("utf-8")
|
||||
mock_redis.get.return_value = utf8_encoded_email
|
||||
email = utf8_encoded_email
|
||||
|
||||
Reference in New Issue
Block a user