Skip to content

Commit

Permalink
fix tests to reflect update in template
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiebelle committed Jan 7, 2024
1 parent 55bb2d4 commit 9c53e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def test_display_template_with_sponsor_info(self):
response = self.client.get(self.url)
context = response.context

self.assertTemplateUsed(response, "users/sponsor_info_update.html")
self.assertTemplateUsed(response, "sponsors/new_sponsorship_application_form.html")
self.assertEqual(context["sponsor"], self.sponsor)
self.assertIsInstance(context["form"], SponsorUpdateForm)

Expand Down

0 comments on commit 9c53e6a

Please sign in to comment.