Skip to content

Commit a2e6454

Browse files
committed
fixed e2e test
1 parent 730aa00 commit a2e6454

File tree

1 file changed

+13
-9
lines changed
  • packages/google-cloud-firestore/tests/system/pipeline_e2e

1 file changed

+13
-9
lines changed

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

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -861,13 +861,14 @@ tests:
861861
- Constant: "1984"
862862
- Select:
863863
- AliasedExpression:
864-
- FunctionExpression.reference_slice:
865-
- Field: __name__
866-
- 0
867-
- 1
864+
- FunctionExpression.document_id:
865+
- FunctionExpression.reference_slice:
866+
- Field: __name__
867+
- Constant: 0
868+
- Constant: 1
868869
- res
869870
assert_results:
870-
- res: "/books/book8"
871+
- res: "book8"
871872
assert_proto:
872873
pipeline:
873874
stages:
@@ -887,8 +888,11 @@ tests:
887888
res:
888889
functionValue:
889890
args:
890-
- fieldReferenceValue: __name__
891-
- integerValue: '4'
892-
- integerValue: '1'
893-
name: reference_slice
891+
- functionValue:
892+
args:
893+
- fieldReferenceValue: __name__
894+
- integerValue: '0'
895+
- integerValue: '1'
896+
name: reference_slice
897+
name: document_id
894898
name: select

0 commit comments

Comments
 (0)