diff --git a/src/registrar/templates/home.html b/src/registrar/templates/home.html index 566a2d102..b5dab701b 100644 --- a/src/registrar/templates/home.html +++ b/src/registrar/templates/home.html @@ -50,7 +50,6 @@ {# UNKNOWN domains would not have an expiration date and thus would show 'Expired' #} diff --git a/src/registrar/tests/test_views.py b/src/registrar/tests/test_views.py index a030b4404..0531d81d5 100644 --- a/src/registrar/tests/test_views.py +++ b/src/registrar/tests/test_views.py @@ -153,11 +153,8 @@ class LoggedInTests(TestWithUser): self.assertContains(response, domain_name, count=2) # Check that we have the right text content. - # We expect two instances because of SR content. - self.assertContains(response, expected_message, count=2) + self.assertContains(response, expected_message, count=1) - # Check that its nested in the right html element - # Delete the role and domain to ensure we're testing in isolation user_role.delete() test_domain.delete()