tests: set receipt time manually to avoid formdata being too close (#35403)

This commit is contained in:
Frédéric Péters 2019-08-14 17:43:48 +02:00
parent 476dc6c8ce
commit 5b70690f2f
1 changed files with 1 additions and 0 deletions

View File

@ -1389,6 +1389,7 @@ def test_user_forms(pub, local_user):
formdata.data = {'0': 'foo@localhost', '1': 'xyy'}
formdata.user_id = local_user.id
formdata.just_created()
formdata.receipt_time = (datetime.datetime.now() + datetime.timedelta(days=1)).timetuple()
formdata.jump_status('new')
formdata.store()