Skip to content

Commit d8dafe4

Browse files
authored
Merge pull request #46 from fingerprintjs/copilot/update-search-events-maximum-params-test
test: add active_call filter coverage to searchEventsMaximumParamsTest
2 parents 6db3a98 + c868621 commit d8dafe4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

sdk/src/test/java/com/fingerprint/v4/api/FingerprintApiTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ public void searchEventsMaximumParamsTest() throws ApiException {
505505
SearchEventsIncrementalIdentificationStatus.PARTIALLY_COMPLETED;
506506
final Boolean SIMULATOR = true;
507507
final List<SearchEventsSource> SOURCE = Arrays.asList(SearchEventsSource.EDGE);
508+
final Boolean ACTIVE_CALL = true;
508509

509510
Map<String, String> expectedQueryParams = new HashMap<>();
510511
expectedQueryParams.put("limit", String.valueOf(LIMIT));
@@ -550,6 +551,7 @@ public void searchEventsMaximumParamsTest() throws ApiException {
550551
expectedQueryParams.put(
551552
"incremental_identification_status", String.valueOf(INCREMENTAL_IDENTIFICATION_STATUS));
552553
expectedQueryParams.put("simulator", String.valueOf(SIMULATOR));
554+
expectedQueryParams.put("active_call", String.valueOf(ACTIVE_CALL));
553555

554556
final int arrayQueryParamsCount =
555557
ENVIRONMENT.size()
@@ -634,7 +636,8 @@ public void searchEventsMaximumParamsTest() throws ApiException {
634636
.setHighRecallId(HIGH_RECALL_ID)
635637
.setIncrementalIdentificationStatus(INCREMENTAL_IDENTIFICATION_STATUS)
636638
.setSimulator(SIMULATOR)
637-
.setSource(SOURCE));
639+
.setSource(SOURCE)
640+
.setActiveCall(ACTIVE_CALL));
638641
List<Event> events = response.getEvents();
639642
assertEquals(events.size(), 1);
640643
}

0 commit comments

Comments
 (0)