Skip to content

Commit 91124c1

Browse files
committed
add int test
1 parent 3f6cfe8 commit 91124c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
import static com.mongodb.client.model.search.SearchOperator.autocomplete;
8080
import static com.mongodb.client.model.search.SearchOperator.compound;
8181
import static com.mongodb.client.model.search.SearchOperator.dateRange;
82+
import static com.mongodb.client.model.search.SearchOperator.equalsNull;
8283
import static com.mongodb.client.model.search.SearchOperator.exists;
8384
import static com.mongodb.client.model.search.SearchOperator.near;
8485
import static com.mongodb.client.model.search.SearchOperator.numberRange;
@@ -610,7 +611,9 @@ private static Stream<Arguments> searchAndSearchMetaArgs() {
610611
.lte(Instant.ofEpochMilli(1)),
611612
near(0, 1.5, fieldPath("fieldName7"), fieldPath("fieldName8")),
612613
near(Instant.ofEpochMilli(1), Duration.ofMillis(3), fieldPath("fieldName9")),
613-
phrase(fieldPath("fieldName10"), "term6")
614+
phrase(fieldPath("fieldName10"), "term6"),
615+
SearchOperator.equals(fieldPath("fieldName11"), "term7"),
616+
equalsNull(fieldPath("fieldName12"))
614617
))
615618
.minimumShouldMatch(1)
616619
.mustNot(singleton(

0 commit comments

Comments
 (0)