Skip to content

Commit 7a8204d

Browse files
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.1 (#265)
* Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.1 Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.1.2 to 3.2.1. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](apache/maven-surefire@surefire-3.1.2...surefire-3.2.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * save changes --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pedro Lopes <[email protected]>
1 parent be76cdb commit 7a8204d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
<plugin>
8383
<groupId>org.apache.maven.plugins</groupId>
8484
<artifactId>maven-surefire-plugin</artifactId>
85-
<version>3.1.2</version>
85+
<version>3.2.1</version>
8686
</plugin>
8787
<plugin>
8888
<groupId>org.codehaus.mojo</groupId>

src/test/java/com/checkmarx/ast/ResultTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ResultTest extends BaseTest {
2323

2424
@Test
2525
void testResultsHTML() throws Exception {
26-
List<Scan> scanList = wrapper.scanList();
26+
List<Scan> scanList = wrapper.scanList("statuses=Completed");
2727
Assertions.assertTrue(scanList.size() > 0);
2828
String scanId = scanList.get(0).getId();
2929
String results = wrapper.results(UUID.fromString(scanId), ReportFormat.summaryHTML);
@@ -32,7 +32,7 @@ void testResultsHTML() throws Exception {
3232

3333
@Test
3434
void testResultsJSON() throws Exception {
35-
List<Scan> scanList = wrapper.scanList();
35+
List<Scan> scanList = wrapper.scanList("statuses=Completed");
3636
Assertions.assertTrue(scanList.size() > 0);
3737
String scanId = scanList.get(0).getId();
3838
String results = wrapper.results(UUID.fromString(scanId), ReportFormat.json);
@@ -41,7 +41,7 @@ void testResultsJSON() throws Exception {
4141

4242
@Test
4343
void testResultsSummaryJSON() throws Exception {
44-
List<Scan> scanList = wrapper.scanList();
44+
List<Scan> scanList = wrapper.scanList("statuses=Completed");
4545
Assertions.assertTrue(scanList.size() > 0);
4646
String scanId = scanList.get(0).getId();
4747
ResultsSummary results = wrapper.resultsSummary(UUID.fromString(scanId));
@@ -50,7 +50,7 @@ void testResultsSummaryJSON() throws Exception {
5050

5151
@Test()
5252
void testResultsStructure() throws Exception {
53-
List<Scan> scanList = wrapper.scanList();
53+
List<Scan> scanList = wrapper.scanList("statuses=Completed");
5454
Assertions.assertTrue(scanList.size() > 0);
5555
String scanId = scanList.get(0).getId();
5656
Results results = wrapper.results(UUID.fromString(scanId));

0 commit comments

Comments
 (0)