Skip to content

Commit 4415bbb

Browse files
committed
fixed unit tests
1 parent 53ca59e commit 4415bbb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/google-cloud-firestore/tests/unit/v1/test_pipeline_stages.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -825,12 +825,7 @@ def test_search_full_options(self):
825825
def test_search_string_query_wrapping(self):
826826
options = stages.SearchOptions(query="science")
827827
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"
828+
assert options.query.params[0].value == "science"
834829

835830

836831
class TestSelect:

0 commit comments

Comments
 (0)