mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
reformatted and updated test
This commit is contained in:
parent
185c0222d3
commit
6b2123d0f3
2 changed files with 2 additions and 2 deletions
|
@ -607,7 +607,7 @@ class TestDomainDetailDomainRenewal(TestDomainOverview):
|
|||
renewal_page = self.app.get(reverse("domain-renewal", kwargs={"pk": self.domain_with_ip.id}))
|
||||
|
||||
# Verify we see "Your contact information" on the renewal form
|
||||
self.assertContains(renewal_page, "Your contact information")
|
||||
self.assertContains(renewal_page, "Your Contact Information")
|
||||
|
||||
# Verify that the "Edit" button for Your contact is there and links to correct URL
|
||||
edit_button_url = reverse("user-profile")
|
||||
|
|
|
@ -315,7 +315,7 @@ class DomainRenewalView(DomainView):
|
|||
"""Domain detail overview page."""
|
||||
|
||||
template_name = "domain_renewal.html"
|
||||
|
||||
|
||||
def can_access_domain_via_portfolio(self, pk):
|
||||
"""Most views should not allow permission to portfolio users.
|
||||
If particular views allow permissions, they will need to override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue