diff --git a/alerting/src/test/kotlin/org/opensearch/alerting/resthandler/FindingsRestApiIT.kt b/alerting/src/test/kotlin/org/opensearch/alerting/resthandler/FindingsRestApiIT.kt index dc61468a8..0791189fa 100644 --- a/alerting/src/test/kotlin/org/opensearch/alerting/resthandler/FindingsRestApiIT.kt +++ b/alerting/src/test/kotlin/org/opensearch/alerting/resthandler/FindingsRestApiIT.kt @@ -28,6 +28,7 @@ class FindingsRestApiIT : AlertingRestTestCase() { val response = searchFindings() assertEquals(1, response.totalFindings) assertEquals(1, response.findings[0].documents.size) + assertEquals(1, response.findings[0].documents.size) assertFalse(response.findings[0].documents[0].found) }