Skip to content

Commit d49efd4

Browse files
committed
updating test yaml
1 parent cc296ac commit d49efd4

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

packages/google-cloud-firestore/tests/system/pipeline_e2e/general.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,4 +771,4 @@ tests:
771771
- Union:
772772
- Pipeline:
773773
- Subcollection: reviews
774-
assert_error: ".*root pipelines.*"
774+
assert_error: ".*start of a nested pipeline.*"

packages/google-cloud-firestore/tests/system/pipeline_e2e/logical.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,8 @@ tests:
712712
- Where:
713713
- FunctionExpression.equal:
714714
- Field: value
715-
- Constant: null
715+
- Constant:
716+
value: null
716717
- Select:
717718
- AliasedExpression:
718719
- FunctionExpression.if_null:

packages/google-cloud-firestore/tests/system/pipeline_e2e/map.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ tests:
162162
- FunctionExpression.map_set:
163163
- Field: awards
164164
- "hugo"
165-
- Constant: null
165+
- Constant:
166+
value: null
166167
- "awards_set"
167168
assert_results:
168169
- awards_set:
@@ -468,11 +469,6 @@ tests:
468469
- FunctionExpression.equal:
469470
- Field: hugoAward
470471
- Constant: true
471-
assert_results:
472-
- hugoAward: true
473-
title: The Hitchhiker's Guide to the Galaxy
474-
- hugoAward: true
475-
title: Dune
476472
- description: testGetFieldWithField
477473
pipeline:
478474
- Collection: books

packages/google-cloud-firestore/tests/system/pipeline_e2e/subqueries.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,4 @@ tests:
188188
- Pipeline.to_scalar_expression:
189189
- Collection: books
190190
- bad_scalar
191-
assert_error: ".*more than one item.*"
191+
assert_error: ".*multiple results.*"

0 commit comments

Comments
 (0)