From 07e14d91261350c6ff45bbd403c03d4268fe1e56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 5 May 2021 21:37:14 +0200 Subject: [PATCH] tests: remove misleading ?full=on passed to formdata API (this parameter doesn't exist) --- tests/api/test_formdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api/test_formdata.py b/tests/api/test_formdata.py index 8a924f170..b2e8af642 100644 --- a/tests/api/test_formdata.py +++ b/tests/api/test_formdata.py @@ -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