Skip to content

Commit

Permalink
resolve conversations
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAlvo1 committed Jan 7, 2025
1 parent 776ea96 commit a9d648e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public void testGetList() {
String msg = String.format("project: %s branch: %s scans: %d", project.getId(), Environment.BRANCH_NAME, scans.size());
Assertions.assertTrue(scans.size() > 0, msg);
Assertions.assertTrue(scans.size() <= 10000, msg);

// Check that all scans are for the correct project and branch and have completed
Assertions.assertTrue(scans.stream().allMatch(scan -> scan.getProjectId().equals(project.getId()) && scan.getBranch().equals(Environment.BRANCH_NAME) && scan.getStatus().equals("Completed")));
}

Expand Down

0 comments on commit a9d648e

Please sign in to comment.