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 28, 2024
1 parent 3f10cf6 commit 6ea39e4
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 6ea39e4

Please sign in to comment.