mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 23:42:17 +02:00
put back the fixtures command
This commit is contained in:
parent
c4b6037e8e
commit
c145ecbfa2
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class DomainFixture(DomainRequestFixture):
|
|||
cls._approve_domain_requests(users)
|
||||
|
||||
@staticmethod
|
||||
def _generate_fake_expiration_date(days_in_future=40):
|
||||
def _generate_fake_expiration_date(days_in_future=365):
|
||||
"""Generates a fake expiration date between 1 and 365 days in the future."""
|
||||
current_date = timezone.now().date() # nosec
|
||||
return current_date + timedelta(days=random.randint(1, days_in_future)) # nosec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue