We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53ca59e commit 4415bbbCopy full SHA for 4415bbb
packages/google-cloud-firestore/tests/unit/v1/test_pipeline_stages.py
@@ -825,12 +825,7 @@ def test_search_full_options(self):
825
def test_search_string_query_wrapping(self):
826
options = stages.SearchOptions(query="science")
827
assert options.query.name == "document_matches"
828
-
829
- def test_search_string_field_coercion(self):
830
- options = stages.SearchOptions(query="tech")
831
- assert len(options.select) == 1
832
- assert isinstance(options.select[0], Field)
833
- assert options.select[0].path == "title"
+ assert options.query.params[0].value == "science"
834
835
836
class TestSelect:
0 commit comments