Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Oct 9, 2024
1 parent 3d72d4d commit 2f21530
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void shouldReturnMultiSearchesSearchAfter() throws Exception {
assertEquals(1, response.responses().size());
assertEquals(3, response.responses().get(0).result().hits().hits().size());

List<String> sorts = response.responses().get(0).result().hits().hits().get(1).sort();
List<FieldValue> sorts = response.responses().get(0).result().hits().hits().get(1).sort();
RequestItem sortedAfterItemsQuery = createMSearchSortedFuzzyRequest(b -> b.searchAfter(sorts));

MsearchResponse<ShopItem> response2 = sendMSearchRequest(index, List.of(sortedAfterItemsQuery));
Expand Down

0 comments on commit 2f21530

Please sign in to comment.