diff --git a/its/tests/src/test/java/its/TaintVulnerabilitiesDownloadTest.java b/its/tests/src/test/java/its/TaintVulnerabilitiesDownloadTest.java index 9f0784918f..d33678f973 100644 --- a/its/tests/src/test/java/its/TaintVulnerabilitiesDownloadTest.java +++ b/its/tests/src/test/java/its/TaintVulnerabilitiesDownloadTest.java @@ -153,7 +153,7 @@ public void download_all_issues_include_taint_vulnerabilities_and_code_snippets( Flow flow = taintIssue.getFlows().get(0); assertThat(flow.locations()).isNotEmpty(); assertThat(flow.locations().get(0).getCodeSnippet()).isEqualTo("statement.executeQuery(query)"); - assertThat(flow.locations().get(flow.locations().size() - 1).getCodeSnippet()).isEqualTo("request.getParameter(\"user\")"); + assertThat(flow.locations().get(flow.locations().size() - 1).getCodeSnippet()).isIn("request.getParameter(\"user\")", "request.getParameter(\"pass\")"); } private void analyzeMavenProject(String projectDirName) {