tests: explicitelty enable drafts for test formdef

This is required after wcs b3eb549 (#12756) as existing drafts won't be
returned if their formdata has drafts disabled.
This commit is contained in:
Frédéric Péters 2016-08-11 10:51:52 +02:00
parent 56923e7a16
commit 4298c2e4b6
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ formdef = FormDef()
formdef.name = 'third form title'
formdef.category_id = cats[2].id
formdef.fields = []
formdef.enable_tracking_codes = True
formdef.store()
# a draft of that formdef