Commit b0e40791 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor fix.

parent 25050c0b
Pipeline #74378 passed with stages
in 21 minutes and 59 seconds
......@@ -721,10 +721,10 @@ class TestArchive(UploadFilesBasedTests):
calc_id='test_id', published=True, with_embargo=False)
entry_metadata.a_elastic.index(refresh=True)
rv = api.post(uri, content_type='application/json', data=json.dumps(dict(per_page=5, raise_error=True)))
assert rv.status_code == 401
rv = api.post(uri, content_type='application/json', data=json.dumps(dict(per_page=5, raise_errors=True)))
assert rv.status_code == 404
rv = api.post(uri, content_type='application/json', data=json.dumps(dict(per_page=5, raise_error=False)))
rv = api.post(uri, content_type='application/json', data=json.dumps(dict(per_page=5, raise_errors=False)))
assert rv.status_code == 200
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment