Skip to content

Commit

Permalink
fix: debug tests
Browse files Browse the repository at this point in the history
  • Loading branch information
evemartin committed Apr 4, 2024
1 parent 9ee8e3e commit 3305851
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions portal/tests/test_independent_student.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def test_change_email(self, mock_send_dotdigital_email):
assert is_student_details_updated_message_showing(self.selenium)
assert is_email_updated_message_showing(self.selenium)

mock_send_dotdigital_email.assert_called_once_with(1551600, ANY, personalization_values=ANY)
mock_send_dotdigital_email.assert_called_with(1551600, ANY, personalization_values=ANY)

# Try changing email to an existing teacher's email
teacher_email, _ = signup_teacher_directly()
Expand All @@ -377,7 +377,7 @@ def test_change_email(self, mock_send_dotdigital_email):
assert is_student_details_updated_message_showing(self.selenium)
assert is_email_updated_message_showing(self.selenium)

mock_send_dotdigital_email.assert_called_once_with(1551600, ANY, personalization_values=ANY)
mock_send_dotdigital_email.assert_called_with(1551600, ANY, personalization_values=ANY)

page = (
self.go_to_homepage()
Expand Down Expand Up @@ -405,7 +405,7 @@ def test_change_email(self, mock_send_dotdigital_email):

page = page.logout()

mock_send_dotdigital_email.assert_called_once_with(1551600, ANY, personalization_values=ANY)
mock_send_dotdigital_email.assert_called_with(1551600, ANY, personalization_values=ANY)

page = email_utils.follow_change_email_link_to_independent_dashboard(page, mail.outbox[1])

Expand Down

0 comments on commit 3305851

Please sign in to comment.