Merge pull request #1743 from cisagov/nl/1576-fixture-domain-request-submission-dates-are-blank

Issue #1576: Submission dates for fixture domain requests are blank
This commit is contained in:
CuriousX 2024-02-06 13:22:21 -07:00 committed by GitHub
commit bce1e4e582
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,7 +104,7 @@ class DomainApplicationFixture:
# Random choice of agency for selects, used as placeholders for testing.
else random.choice(DomainApplication.AGENCIES) # nosec
)
da.submission_date = fake.date()
da.federal_type = (
app["federal_type"]
if "federal_type" in app