Skip to content

Commit 75445f1

Browse files
committed
One more test
1 parent fae116c commit 75445f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/search/tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_doc_search_without_parameters(self, api_client, project):
111111
resp = api_client.get(self.url)
112112
assert resp.status_code == 400
113113
# Check error message is there
114-
assert sorted(['query', 'project', 'version']) == sorted(resp.data.keys())
114+
assert sorted(['q', 'project', 'version']) == sorted(resp.data.keys())
115115

116116
def test_doc_search_subprojects(self, api_client, all_projects):
117117
"""Test Document search return results from subprojects also"""

0 commit comments

Comments
 (0)