diff --git a/src/registrar/models/domain_information.py b/src/registrar/models/domain_information.py index 1d934f659..e6c323128 100644 --- a/src/registrar/models/domain_information.py +++ b/src/registrar/models/domain_information.py @@ -229,6 +229,7 @@ class DomainInformation(TimeStampedModel): da_dict.pop("alternative_domains", None) da_dict.pop("requested_domain", None) da_dict.pop("approved_domain", None) + da_dict.pop("submission_date", None) other_contacts = da_dict.pop("other_contacts", []) domain_info = cls(**da_dict) domain_info.domain_application = domain_application diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py index 8a67fc191..9a1e87362 100644 --- a/src/registrar/tests/test_admin.py +++ b/src/registrar/tests/test_admin.py @@ -623,6 +623,7 @@ class TestDomainApplicationAdmin(MockEppLib): "no_other_contacts_rationale", "anything_else", "is_policy_acknowledged", + "submission_date", "current_websites", "other_contacts", "alternative_domains", diff --git a/src/registrar/tests/test_views.py b/src/registrar/tests/test_views.py index 3c98c5fe7..a34f268ce 100644 --- a/src/registrar/tests/test_views.py +++ b/src/registrar/tests/test_views.py @@ -100,7 +100,7 @@ class LoggedInTests(TestWithUser): response = self.client.get("/") # count = 2 because it is also in screenreader content self.assertContains(response, "igorville.gov", count=2) - self.assertContains(response, "DNS needed") + self.assertContains(response, "Expired") # clean up role.delete()