From 344c1e5dd4eadf747f10ae8a45e4c0691507551c Mon Sep 17 00:00:00 2001 From: KN4CK3R Date: Tue, 9 Aug 2022 06:07:25 +0000 Subject: [PATCH] lint --- integrations/api_packages_nuget_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/api_packages_nuget_test.go b/integrations/api_packages_nuget_test.go index a1d53d234f7f..c4e41c068650 100644 --- a/integrations/api_packages_nuget_test.go +++ b/integrations/api_packages_nuget_test.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/assert" ) -func addNuGetApiKeyHeader(request *http.Request, token string) *http.Request { +func addNuGetAPIKeyHeader(request *http.Request, token string) *http.Request { request.Header.Set("X-Nuget-Apikey", token) return request } @@ -70,7 +70,7 @@ func TestPackageNuGet(t *testing.T) { MakeRequest(t, req, http.StatusOK) req = NewRequest(t, "GET", fmt.Sprintf("%s/index.json", url)) - req = addNuGetApiKeyHeader(req, token) + req = addNuGetAPIKeyHeader(req, token) resp := MakeRequest(t, req, http.StatusOK) var result nuget.ServiceIndexResponse