mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-12 15:50:15 -08:00
test: set dummy value for NUGET_PACKAGES (#8107)
Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
This commit is contained in:
@@ -16,6 +16,7 @@ import (
|
||||
|
||||
// TestRepository tests `trivy repo` with the local code repositories
|
||||
func TestRepository(t *testing.T) {
|
||||
t.Setenv("NUGET_PACKAGES", t.TempDir())
|
||||
type args struct {
|
||||
scanner types.Scanner
|
||||
ignoreIDs []string
|
||||
|
||||
Reference in New Issue
Block a user