Skip to content

Commit eca2ad5

Browse files
committed
corrected test typo
1 parent 51af53b commit eca2ad5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/java/com/checkmarx/ast/predicate/Predicate.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ public Predicate(@JsonProperty("ID") String id, @JsonProperty("SimilarityID") St
4747
this.UpdatedAt = UpdatedAt;
4848
}
4949

50-
5150
public static <T> T fromLine(String line) {
5251
return parse(line, TypeFactory.defaultInstance().constructType(Predicate.class));
5352
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void testTriageUpdate() throws Exception {
4242
Result result = results.getResults().stream().filter(res -> res.getType().equalsIgnoreCase(CxConstants.SAST)).findFirst().get();
4343

4444
try {
45-
wrapper.triageUpdate(UUID.fromString(scan.getProjectID()), result.getSimilarityId(), result.getType(), "confirmed", "Edited via Java Wrapper", "hih");
45+
wrapper.triageUpdate(UUID.fromString(scan.getProjectID()), result.getSimilarityId(), result.getType(), "confirmed", "Edited via Java Wrapper", "high");
4646
} catch (Exception e) {
4747
fail("Triage update failed. Should not throw exception");
4848
}

0 commit comments

Comments
 (0)