Skip to content

Commit

Permalink
more rest tests
Browse files Browse the repository at this point in the history
Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com>
  • Loading branch information
bowenlan-amzn committed Jul 30, 2024
1 parent 04789e5 commit 3cd735e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ setup:
body: {
"query": {
"terms": {
"student_id": "OjAAAAEAAAAAAAEAEAAAAG8A3gA=",
"student_id": ["OjAAAAEAAAAAAAEAEAAAAG8A3gA="],
"value_type": "bitmap"
}
}
Expand Down Expand Up @@ -171,9 +171,9 @@ setup:
}
}
- match: { hits.total: 3 }
- match: { hits.hits.0._source.name: Jane Doe }
- match: { hits.hits.0._source.student_id: 111 }
- match: { hits.hits.0._source.name: Mary Major }
- match: { hits.hits.0._source.student_id: 222 }
- match: { hits.hits.0._source.name: John Doe }
- match: { hits.hits.0._source.student_id: 333 }
- match: { hits.hits.1._source.name: Jane Doe }
- match: { hits.hits.1._source.student_id: 111 }
- match: { hits.hits.2._source.name: John Doe }
- match: { hits.hits.2._source.student_id: 333 }

0 comments on commit 3cd735e

Please sign in to comment.