Changed class attibutes to match test expectation.
This commit is contained in:
@@ -10,7 +10,7 @@ from lostplaces_app.tests.models import ModelTestCase
|
||||
def mock_voucher():
|
||||
return Voucher.objects.create(
|
||||
code='ayDraJCCwfhcFiYmSR5GrcjcchDfcahv',
|
||||
expires=datetime.datetime.now() + datetime.timedelta(days=1)
|
||||
expires_when=datetime.datetime.now() + datetime.timedelta(days=1)
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user