tests: remove misleading ?full=on passed to formdata API
(this parameter doesn't exist)
This commit is contained in:
parent
c05ae5877d
commit
07e14d9126
|
@ -713,7 +713,7 @@ def test_api_anonymized_formdata(pub, local_user, admin_user):
|
|||
assert 'who' not in resp.json[0]['evolution'][0]
|
||||
assert 'time' in resp.json[0]['evolution'][0]
|
||||
# check anonymise is enforced on detail view
|
||||
resp = get_app(pub).get(sign_uri('/api/forms/test/%s/?anonymise&full=on' % resp.json[1]['id']))
|
||||
resp = get_app(pub).get(sign_uri('/api/forms/test/%s/?anonymise' % resp.json[1]['id']))
|
||||
assert 'receipt_time' in resp.json
|
||||
assert 'fields' in resp.json
|
||||
assert 'user' not in resp.json
|
||||
|
|
Loading…
Reference in New Issue