diff --git a/nuget_test.go b/nuget_test.go index 2aec5fc35..fb657cf78 100644 --- a/nuget_test.go +++ b/nuget_test.go @@ -107,7 +107,7 @@ func TestNuGetWithGlobalConfig(t *testing.T) { assert.NoError(t, err) err = createConfigFileForTest([]string{jfrogHomeDir}, tests.NugetRemoteRepo, "", t, project.Nuget, true) assert.NoError(t, err) - testNugetCmd(t, projectPath, tests.NuGetBuildName, "1", []string{"packagesconfig"}, []string{"nuget", "restore"}, []int{6}, "") + testNugetCmd(t, projectPath, tests.NuGetBuildName, "1", []string{"packagesconfig"}, []string{"nuget", "restore", "--allow-insecure-connections"}, []int{6}, "") cleanTestsHomeEnv() }