Skip to content

Commit

Permalink
minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
gailazar300 committed Apr 7, 2024
1 parent ced6afd commit 184a565
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion audit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"github.com/jfrog/jfrog-cli-core/v2/utils/coreutils"
"github.com/jfrog/jfrog-cli-security/formats"
"github.com/jfrog/jfrog-cli-security/utils"
xscservices "github.com/jfrog/jfrog-client-go/xsc/services"
"os"
"os/exec"
"path/filepath"
Expand Down Expand Up @@ -518,7 +519,7 @@ func TestXrayRecursiveScan(t *testing.T) {
}

func TestXscAnalyticsForAudit(t *testing.T) {
securityTestUtils.InitSecurityTest(t, scangraph.GraphScanMinXrayVersion, "")
securityTestUtils.InitSecurityTest(t, scangraph.GraphScanMinXrayVersion, xscservices.AnalyticsMetricsMinXscVersion)
reportUsageCallBack := clientTests.SetEnvWithCallbackAndAssert(t, coreutils.ReportUsage, "true")
defer reportUsageCallBack()
// Scan npm project and verify that analytics general event were sent to XSC.
Expand Down

0 comments on commit 184a565

Please sign in to comment.