mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 19:48:36 +02:00
Fix unit tests
This commit is contained in:
parent
71e46c7925
commit
e16dd2ea93
3 changed files with 5 additions and 3 deletions
|
@ -37,7 +37,7 @@
|
|||
{% include "includes/required_fields.html" %}
|
||||
<form class="usa-form usa-form--large desktop:margin-top-4" method="post" novalidate>
|
||||
{% csrf_token %}
|
||||
<h4 class="read-only-label">Organization</h4>
|
||||
<h4 class="read-only-label">Organization name</h4>
|
||||
<p class="read-only-value">
|
||||
{{ portfolio.federal_agency }}
|
||||
</p>
|
||||
|
|
|
@ -1301,7 +1301,9 @@ class TestDomainOrganization(TestDomainOverview):
|
|||
"""Can load domain's org name and mailing address page."""
|
||||
page = self.client.get(reverse("domain-org-name-address", kwargs={"pk": self.domain.id}))
|
||||
# once on the sidebar, once in the page title, once as H1
|
||||
self.assertContains(page, "Organization", count=4)
|
||||
self.assertContains(page, "Organization</a>")
|
||||
self.assertContains(page, "Organization name and mailing address")
|
||||
self.assertContains(page, "Organization</h1>")
|
||||
|
||||
@less_console_noise_decorator
|
||||
def test_domain_org_name_address_content(self):
|
||||
|
|
|
@ -341,7 +341,7 @@ class TestPortfolio(WebTest):
|
|||
)
|
||||
page = self.app.get(reverse("organization"))
|
||||
self.assertContains(
|
||||
page, "The name of your federal agency will be publicly listed as the domain registrant."
|
||||
page, "The name of your organization will be publicly listed as the domain registrant."
|
||||
)
|
||||
|
||||
@less_console_noise_decorator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue