Skip to content

Commit 4909d09

Browse files
authored
Update AggregatesSearchIntegrationTest to take account of changes in the sample data
We are moving to a new MongoDB Atlas deployment for all Atlas search tests. It supports `$vectorSearch`.
1 parent 2ed89c9 commit 4909d09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver-core/src/test/functional/com/mongodb/client/model/search/AggregatesSearchIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,15 +358,15 @@ private static Stream<Arguments> args() {
358358
arguments(
359359
"alternate analyzer (`multi` field path)",
360360
stageCreator(
361-
text(singleton(fieldPath("title").multi("keyword")), singleton("The Cheat")),
361+
text(singleton(fieldPath("title").multi("keyword")), singleton("Top Gun")),
362362
searchOptions().count(total())
363363
),
364364
MFLIX_MOVIES_NS,
365365
asList(
366366
new Accessory(
367367
emptyList(),
368368
Asserters.firstResult((doc, msgSupplier) -> assertEquals(
369-
"The Cheat", doc.getString("title").getValue(), msgSupplier))
369+
"Top Gun", doc.getString("title").getValue(), msgSupplier))
370370
),
371371
new Accessory(
372372
emptyList(),

0 commit comments

Comments
 (0)