Skip to content

Commit

Permalink
test: update broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Nov 21, 2024
1 parent ce05479 commit 2334f56
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkg/fanal/analyzer/language/golang/mod/mod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ func Test_gomodAnalyzer_Analyze(t *testing.T) {
ID: "github.com/org/repo",
Name: "github.com/org/repo",
Relationship: types.RelationshipRoot,
DependsOn: []string{
"github.com/aquasecurity/[email protected]",
},
ExternalReferences: []types.ExternalRef{
{
Type: types.RefVCS,
Expand Down Expand Up @@ -86,6 +89,9 @@ func Test_gomodAnalyzer_Analyze(t *testing.T) {
ID: "github.com/org/repo",
Name: "github.com/org/repo",
Relationship: types.RelationshipRoot,
DependsOn: []string{
"github.com/sad/[email protected]",
},
ExternalReferences: []types.ExternalRef{
{
Type: types.RefVCS,
Expand Down Expand Up @@ -126,6 +132,9 @@ func Test_gomodAnalyzer_Analyze(t *testing.T) {
ID: "github.com/org/repo",
Name: "github.com/org/repo",
Relationship: types.RelationshipRoot,
DependsOn: []string{
"github.com/aquasecurity/[email protected]",
},
ExternalReferences: []types.ExternalRef{
{
Type: types.RefVCS,
Expand Down Expand Up @@ -178,6 +187,9 @@ func Test_gomodAnalyzer_Analyze(t *testing.T) {
ID: "github.com/org/repo",
Name: "github.com/org/repo",
Relationship: types.RelationshipRoot,
DependsOn: []string{
"github.com/aquasecurity/[email protected]",
},
ExternalReferences: []types.ExternalRef{
{
Type: types.RefVCS,
Expand Down

0 comments on commit 2334f56

Please sign in to comment.