Skip to content

Commit

Permalink
fix findings api integ tests
Browse files Browse the repository at this point in the history
Signed-off-by: Joanne Wang <[email protected]>
  • Loading branch information
jowg-amazon committed Mar 15, 2024
1 parent 910d73b commit 4190cab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public void testGetAllFindings_success() throws IOException {
Map<String, String> params = new HashMap<>();
Response getFindingsResponse = makeRequest(client(), "GET", SecurityAnalyticsPlugin.FINDINGS_BASE_URI + "/_search", params, null);
Map<String, Object> getFindingsBody = entityAsMap(getFindingsResponse);
Assert.assertEquals(1, getFindingsBody.get("total_findings"));
Assert.assertEquals(2, getFindingsBody.get("total_findings"));
}

public void testGetFindings_byDetectionType_success() throws IOException {
Expand Down

0 comments on commit 4190cab

Please sign in to comment.