Change reverse url on test

This commit is contained in:
zandercymatics 2024-10-04 12:22:12 -06:00
parent 8f1ac68710
commit cfff3322bc
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 5 additions and 5 deletions

View file

@ -3157,7 +3157,7 @@ class TestDomainRequestWizard(TestWithUser, WebTest):
self.assertContains(detail_page, "usa-current", count=1)
# We default to the requesting entity page
expected_url = reverse("domain-request:requesting_entity")
expected_url = reverse("domain-request:portfolio_requesting_entity")
# This returns the entire url, thus "in"
self.assertIn(expected_url, detail_page.request.url)