Skip to content

Commit

Permalink
add path to mock scan input
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixq committed Jan 20, 2025
1 parent 4a5099b commit db0dd1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/mavenutil/maven_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import (
)

func TestParentPOMPath(t *testing.T) {
input := extracttest.GenerateScanInputMock(t, extracttest.ScanInputMockConfig{})
input := extracttest.GenerateScanInputMock(t, extracttest.ScanInputMockConfig{
Path: filepath.Join("fixtures", "my-app", "pom.xml"),
})
defer extracttest.CloseTestScanInput(t, input)

tests := []struct {
Expand Down

0 comments on commit db0dd1d

Please sign in to comment.