Commit f4742377 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Fixed typo.

parent c1fd5701
Pipeline #97684 passed with stages
in 27 minutes and 22 seconds
......@@ -403,10 +403,9 @@ class TestEncyclopedia():
# Test that invalid query parameters raise code 400
def test_complex_search(self, enc_upload, elastic_infra, api, test_user_auth):
# Test that completely private materials only become visible after
# authentication
query = json.dumps({"query": 'elements HAS ALL "B"'}})
query = json.dumps({"query": 'elements HAS ALL "B"'})
rv ='/materials/', data=query, content_type='application/json')
results = rv.json['results']
assert len(results) == 0
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