Skip to content

Commit 7bd9935

Browse files
committed
fix bad test syntax
1 parent 2bbc886 commit 7bd9935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/index/test_index_document_meilisearch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def test_get_documents_offset_optional_params(index_with_documents):
224224
response = index.get_documents()
225225
assert isinstance(response.results, list)
226226
assert len(response.results) == 20
227-
response_offset_limit = index.get_documents({"limit": 3, "offset": 1, "fields": "title"})
227+
response_offset_limit = index.get_documents({"limit": 3, "offset": 1, "fields": ["title"]})
228228
assert len(response_offset_limit.results) == 3
229229
assert hasattr(response_offset_limit.results[0], "title")
230230
assert response_offset_limit.results[0].title == response.results[1].title

0 commit comments

Comments
 (0)