mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 23:02:13 -05:00
fix tests
This commit is contained in:
@@ -146,7 +146,7 @@ def test_should_send_personalised_template_to_correct_email_provider_and_persist
|
||||
|
||||
mock_client = AwsSesClient()
|
||||
mock_client.init_app()
|
||||
mocker.patch("app.aws_ses.client", mock_client)
|
||||
mocker.patch("app.aws_ses_client", mock_client)
|
||||
|
||||
mocker.patch("app.aws_ses_client.send_email", return_value="reference")
|
||||
send_to_providers.send_email_to_provider(db_notification)
|
||||
|
||||
Reference in New Issue
Block a user