fix email test

This commit is contained in:
matthewswspence 2024-09-25 16:05:12 -05:00
parent 7a4ed7ab05
commit 0c9db26a57
No known key found for this signature in database
GPG key ID: FB458202A7852BA4

View file

@ -66,10 +66,10 @@ class TestEmails(TestCase):
"""Test sending email with cc works""" """Test sending email with cc works"""
with boto3_mocking.clients.handler_for("sesv2", self.mock_client_class): with boto3_mocking.clients.handler_for("sesv2", self.mock_client_class):
send_templated_email( send_templated_email(
"test content", "emails/update_to_approved_domain.txt",
"test subject", "emails/update_to_approved_domain_subject.txt",
"doesnotexist@igorville.com", "doesnotexist@igorville.com",
context={"domain_request": self}, context={"domain": "test", "user": "test", "date": 1, "changes": "test"},
bcc_address=None, bcc_address=None,
cc_addresses=["test_email1@example.com", "test_email2@example.com"], cc_addresses=["test_email1@example.com", "test_email2@example.com"],
) )