add expiration_date to manual task order form
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import os
|
||||
import datetime
|
||||
import pytest
|
||||
import alembic.config
|
||||
import alembic.command
|
||||
@@ -124,6 +125,7 @@ def extended_financial_verification_data(pdf_upload):
|
||||
return {
|
||||
"funding_type": "RDTE",
|
||||
"funding_type_other": "other",
|
||||
"expiration_date": "1/1/{}".format(datetime.date.today().year + 1),
|
||||
"clin_0001": "50000",
|
||||
"clin_0003": "13000",
|
||||
"clin_1001": "30000",
|
||||
|
@@ -170,6 +170,11 @@ class TaskOrderFactory(Base):
|
||||
funding_type = FundingType.PROC
|
||||
funding_type_other = None
|
||||
number = "toABC123"
|
||||
expiration_date = factory.LazyFunction(
|
||||
lambda: datetime.date(
|
||||
datetime.date.today().year + random.randrange(1, 15), 1, 1
|
||||
)
|
||||
)
|
||||
clin_0001 = random.randrange(100, 100000)
|
||||
clin_0003 = random.randrange(100, 100000)
|
||||
clin_1001 = random.randrange(100, 100000)
|
||||
|
Reference in New Issue
Block a user