Skip to content

Commit 9221b06

Browse files
AST-37667 fix test (#326)
1 parent 5dccb3d commit 9221b06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ void testResultsStructure() throws Exception {
5757
Results results = wrapper.results(UUID.fromString(scan.getId()));
5858
if (results != null && results.getResults() != null) {
5959
Assertions.assertEquals(results.getTotalCount(), results.getResults().size());
60-
break;
60+
return;
6161
}
6262
}
63+
Assertions.assertTrue(false, "No results found");
6364
}
6465

6566
@Test()

0 commit comments

Comments
 (0)