From 17827db6a963232f3d5c759065518de6fdb591c3 Mon Sep 17 00:00:00 2001 From: Nikita Pivkin Date: Mon, 16 Dec 2024 19:00:10 +0600 Subject: [PATCH] test: set dummy value for NUGET_PACKAGES (#8107) Signed-off-by: nikpivkin --- integration/repo_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/integration/repo_test.go b/integration/repo_test.go index 87c27684d3ab..0f73978da31f 100644 --- a/integration/repo_test.go +++ b/integration/repo_test.go @@ -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