Skip to content

Commit

Permalink
fix yml test
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Nov 21, 2024
1 parent fa8905b commit 9aabc1e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,10 @@ setup:
body: |
{"delete":{ "_id": "2"}}
{"update":{"_id": "1"}}
{"doc":{"dense_field": "updated text"}}
{"doc":{"dense_field": "updated text", "sparse_field": "another text"}}
- match: { errors: false }


- do:
search:
Expand All @@ -554,3 +557,4 @@ setup:
- match: { hits.total.value: 1 }
- match: { hits.total.relation: eq }
- match: { hits.hits.0._source.dense_field.text: "updated text" }
- match: { hits.hits.0._source.sparse_field.text: "another text" }

0 comments on commit 9aabc1e

Please sign in to comment.