Skip to content

Commit a4b749a

Browse files
committed
fix audit tests for xray-url after merge
1 parent 9dfb59c commit a4b749a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

audit_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ func TestAuditOnEmptyProject(t *testing.T) {
745745
func TestXrayAuditNotEntitledForJasWithXrayUrl(t *testing.T) {
746746
cliToRun, cleanUp := securityTestUtils.InitTestWithMockCommandOrParams(t, true, getNoJasAuditMockCommand)
747747
defer cleanUp()
748-
output := testXrayAuditJas(t, cliToRun, filepath.Join("jas", "jas"), "3", false)
748+
output := testXrayAuditJas(t, cliToRun, filepath.Join("jas", "jas"), "3", false, false)
749749
// Verify that scan results are printed
750750
securityTestUtils.VerifySimpleJsonScanResults(t, output, 0, 8, 0)
751751
// Verify that JAS results are not printed
@@ -755,7 +755,7 @@ func TestXrayAuditNotEntitledForJasWithXrayUrl(t *testing.T) {
755755
func TestXrayAuditJasSimpleJsonWithXrayUrl(t *testing.T) {
756756
cliToRun, cleanUp := securityTestUtils.InitTestWithMockCommandOrParams(t, true, getNoJasAuditMockCommand)
757757
defer cleanUp()
758-
output := testXrayAuditJas(t, cliToRun, filepath.Join("jas", "jas"), "3", false)
758+
output := testXrayAuditJas(t, cliToRun, filepath.Join("jas", "jas"), "3", false, false)
759759
securityTestUtils.VerifySimpleJsonScanResults(t, output, 0, 8, 0)
760760
securityTestUtils.VerifySimpleJsonJasResults(t, output, 1, 9, 6, 3, 1, 1, 2, 0, 0)
761761
}

0 commit comments

Comments
 (0)