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 bd4942c commit 296d1cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion portal/tests/test_independent_student.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,9 @@ def test_change_email(self, mock_send_dotdigital_email):
page = page.logout()

mock_send_dotdigital_email.assert_called_with(1551594, ANY, personalization_values=ANY)
verification_url = mock_send_dotdigital_email.call_args.kwargs["personalization_values"]["VERIFICATION_LINK"]

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

page = page.independent_student_login(new_email, password)

Expand Down

0 comments on commit 296d1cf

Please sign in to comment.