Skip to content

Commit

Permalink
try fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Jul 28, 2024
1 parent c9de702 commit 537a200
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ require (
)

// attiasas:refactor_output
replace github.com/jfrog/jfrog-cli-security => github.com/attiasas/jfrog-cli-security v0.0.0-20240724092002-70b74c45ffbe
replace github.com/jfrog/jfrog-cli-security => github.com/attiasas/jfrog-cli-security v0.0.0-20240728090720-7a810c171d97

// replace github.com/jfrog/jfrog-cli-core/v2 => github.com/jfrog/jfrog-cli-core/v2 dev

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,8 @@ github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2
github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo=
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
github.com/attiasas/jfrog-cli-security v0.0.0-20240724092002-70b74c45ffbe h1:+ssmDZeRClRf/uTXiijbwQLYmtBdfcZOnZzEqahZfO0=
github.com/attiasas/jfrog-cli-security v0.0.0-20240724092002-70b74c45ffbe/go.mod h1:lNcLT+lH7xvZaC+eSjvz1kGpVvkL9ZthYyBZy7O4aCA=
github.com/attiasas/jfrog-cli-security v0.0.0-20240728090720-7a810c171d97 h1:3uDUoUCI5uSuCmi8GpWWZc7BbHyWJl3RPmfq+QA8G1c=
github.com/attiasas/jfrog-cli-security v0.0.0-20240728090720-7a810c171d97/go.mod h1:lNcLT+lH7xvZaC+eSjvz1kGpVvkL9ZthYyBZy7O4aCA=
github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8=
github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8=
github.com/bradleyjkemp/cupaloy/v2 v2.8.0 h1:any4BmKE+jGIaMpnU8YgH/I2LPiLBufr6oMMlVBbn9M=
Expand Down
6 changes: 3 additions & 3 deletions scanpullrequest/scanpullrequest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func TestGetNewViolationsCaseNoNewViolations(t *testing.T) {
{
IssueId: "XRAY-3",
LicenseKey: "MIT",
Severity: "medium",
Severity: "medium",
ViolationType: "license",
Components: map[string]services.Component{"component-B": {}},
},
Expand Down Expand Up @@ -559,8 +559,8 @@ func TestGetAllIssues(t *testing.T) {
{
LicenseKey: "Apache-2.0",
ImpactedDependencyDetails: formats.ImpactedDependencyDetails{
SeverityDetails: formats.SeverityDetails {
Severity: "Medium",
SeverityDetails: formats.SeverityDetails{
Severity: "Medium",
SeverityNumValue: 14,
},
ImpactedDependencyName: "Dep-1",
Expand Down

0 comments on commit 537a200

Please sign in to comment.