Skip to content

Commit c825560

Browse files
committed
fixed e2e tests
1 parent 1712ad7 commit c825560

File tree

2 files changed

+6
-36
lines changed

2 files changed

+6
-36
lines changed

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

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -473,41 +473,11 @@ tests:
473473
- FunctionExpression.equal:
474474
- Field: title
475475
- Constant: "The Hitchhiker's Guide to the Galaxy"
476-
- Select:
477-
- AliasedExpression:
478-
- FunctionExpression.is_absent:
479-
- FunctionExpression.offset:
480-
- Field: title
481-
- Constant: 0
482-
- "isAbsent"
483-
assert_results:
484-
- isAbsent: true
485-
assert_proto:
486-
pipeline:
487-
stages:
488-
- args:
489-
- referenceValue: /books
490-
name: collection
491-
- args:
492-
- functionValue:
493-
args:
494-
- fieldReferenceValue: title
495-
- stringValue: "The Hitchhiker's Guide to the Galaxy"
496-
name: equal
497-
name: where
498-
- args:
499-
- mapValue:
500-
fields:
501-
isAbsent:
502-
functionValue:
503-
args:
504-
- functionValue:
505-
args:
506-
- fieldReferenceValue: title
507-
- integerValue: '0'
508-
name: offset
509-
name: is_absent
510-
name: select
476+
- Where:
477+
- FunctionExpression.offset:
478+
- Field: title
479+
- Constant: 0
480+
assert_count: 0
511481
- description: testArrayGet_NegativeOffset
512482
pipeline:
513483
- Collection: books

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ tests:
810810
- referenceValue: /books
811811
name: collection
812812
- args:
813-
- integerValue: 1
813+
- integerValue: '1'
814814
name: limit
815815
- args:
816816
- mapValue:

0 commit comments

Comments
 (0)