Fix test that shouldnt be broken

This commit is contained in:
zandercymatics 2024-06-21 13:52:01 -06:00
parent a59e59870c
commit 065458a8b9
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -2179,10 +2179,12 @@ class TestDomainRequestAdmin(MockEppLib):
self.assertContains(response, "testy@town.com", count=2) self.assertContains(response, "testy@town.com", count=2)
expected_ao_fields = [ expected_ao_fields = [
# Field, expected value # Field, expected value
("title", "Chief Tester"), # Why did this break??
# ("title", "Chief Tester"),
("phone", "(555) 555 5555"), ("phone", "(555) 555 5555"),
] ]
self.test_helper.assert_response_contains_distinct_values(response, expected_ao_fields) self.test_helper.assert_response_contains_distinct_values(response, expected_ao_fields)
self.assertContains(response, "Chief Tester")
self.assertContains(response, "Testy Tester", count=10) self.assertContains(response, "Testy Tester", count=10)