tests: fix test of submitter access to form (#7329)

This commit is contained in:
Frédéric Péters 2015-05-21 16:15:37 +02:00
parent 3baccb0b5d
commit 9e94dbe7ac
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ def test_form_access(pub):
# check "receiver" can also access the formdef
formdef = create_formdef()
formdef.roles = [-2]
formdef.workflow_roles = {'_receiver': role.id}
formdef.store()
user = create_user(pub)