Changed class attibutes to match test expectation.

This commit is contained in:
2020-09-11 22:03:20 +02:00
parent f49581259e
commit c78858c152
3 changed files with 6 additions and 6 deletions

View File

@@ -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)
)