Skip to content

Commit

Permalink
fix audit tests for xray-url - with jas
Browse files Browse the repository at this point in the history
  • Loading branch information
hadarshjfrog committed Oct 16, 2024
1 parent f58eca1 commit 690631e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions audit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -753,9 +753,7 @@ func TestXrayAuditNotEntitledForJasWithXrayUrl(t *testing.T) {
}

func TestXrayAuditJasSimpleJsonWithXrayUrl(t *testing.T) {
cliToRun, cleanUp := securityTestUtils.InitTestWithMockCommandOrParams(t, true, getNoJasAuditMockCommand)
defer cleanUp()
output := testXrayAuditJas(t, cliToRun, filepath.Join("jas", "jas"), "3", false, false)
output := testXrayAuditJas(t, securityTests.PlatformCli, filepath.Join("jas", "jas"), "3", false, false)
validations.VerifySimpleJsonResults(t, output, validations.ValidationParams{Vulnerabilities: 8})
validations.VerifySimpleJsonResults(t, output, validations.ValidationParams{
Sast: 1,
Expand Down

0 comments on commit 690631e

Please sign in to comment.