tests: remove misleading ?full=on passed to formdata API

(this parameter doesn't exist)
This commit is contained in:
Frédéric Péters 2021-05-05 21:37:14 +02:00
parent c05ae5877d
commit 07e14d9126
1 changed files with 1 additions and 1 deletions

View File

@ -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