Skip to content

Commit

Permalink
Fix static code analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
talarian1 committed Sep 28, 2023
1 parent 249b88d commit eb0da27
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions utils/usage/usage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"github.com/jfrog/jfrog-cli-core/v2/utils/config"
"github.com/jfrog/jfrog-client-go/artifactory/usage"
ecosysusage "github.com/jfrog/jfrog-client-go/utils/usage"
xrayusage "github.com/jfrog/jfrog-client-go/xray/usage"
"github.com/stretchr/testify/assert"
)

Expand Down Expand Up @@ -40,28 +39,6 @@ var (
{FeatureId: "featureId", ClientId: "clientId2"},
{FeatureId: "featureId"},
}
xrayEvents = []xrayusage.ReportXrayEventData{
{
ProductId: productName,
EventId: "server_" + productName + "_featureId2",
Attributes: map[string]string{
"clientId": "clientId",
"attribute": "value",
},
Origin: "API_CLI",
},
{
ProductId: productName,
EventId: "server_" + productName + "_featureId",
Attributes: map[string]string{"clientId": "clientId2"},
Origin: "API_CLI",
},
{
ProductId: productName,
EventId: "server_" + productName + "_featureId",
Origin: "API_CLI",
},
}
ecosystemData = []ecosysusage.ReportEcosystemUsageData{
{
ProductId: productName,
Expand Down

0 comments on commit eb0da27

Please sign in to comment.