tests: salubrité
gitea/wcs/pipeline/head There was a failure building this commit
Details
gitea/wcs/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
4bd581c32b
commit
f3d8949e85
|
@ -444,6 +444,15 @@ def test_backoffice_submission_formdef_list_search(pub, local_user, access, auth
|
|||
resp = get_url('/api/formdefs/?backoffice-submission=on&q=abc')
|
||||
assert len(resp.json['data']) == 2
|
||||
|
||||
FormDef.wipe()
|
||||
formdef = FormDef()
|
||||
formdef.name = 'Intervention du service hygiène, salubrité et environnement'
|
||||
formdef.backoffice_submission_roles = [role.id]
|
||||
formdef.fields = []
|
||||
formdef.store()
|
||||
resp = get_url('/api/formdefs/?backoffice-submission=on&q=salubrité')
|
||||
assert len(resp.json['data']) == 1
|
||||
|
||||
|
||||
def test_formdef_schema(pub, access):
|
||||
Workflow.wipe()
|
||||
|
|
Loading…
Reference in New Issue