Skip to content

Commit 8b01fdd

Browse files
committed
small change in test triage update
1 parent f6dfac5 commit 8b01fdd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/tests/PredicateTest.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ describe("Triage cases",() => {
2626
const results = await auth.getResultsList(scan.id)
2727
const result: CxResult = results.payload.find(res => res.type == "sast")
2828

29-
const cxCommandOutput: CxCommandOutput = await auth.triageUpdate(scan.projectID, result.similarityId, "sast", "confirmed", "Edited via JavascriptWrapper", "high");
30-
29+
const cxCommandOutput: CxCommandOutput = await auth.triageUpdate(scan.projectID, result.similarityId, "sast", "to_verify", "Edited via JavascriptWrapper", "high");
30+
const http_code = cxCommandOutput.status
31+
console.log("Aqui")
32+
console.log(http_code)
3133
expect(cxCommandOutput.exitCode).toEqual(0);
3234
})
3335
});

0 commit comments

Comments
 (0)