From 75ac9ee246e7d3be5890b972a241855da875f4b0 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 16 Feb 2023 15:44:08 +0100 Subject: HTTP: Incorporate util ensure valid url with clean path --- client/client_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client/client_test.go') diff --git a/client/client_test.go b/client/client_test.go index 4356736..5a5a39e 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -13,7 +13,6 @@ import ( httpw "github.com/eduvpn/eduvpn-common/internal/http" "github.com/eduvpn/eduvpn-common/internal/oauth" - "github.com/eduvpn/eduvpn-common/internal/util" "github.com/go-errors/errors" ) @@ -22,7 +21,7 @@ func getServerURI(t *testing.T) string { if serverURI == "" { t.Skip("Skipping server test as no SERVER_URI env var has been passed") } - serverURI, parseErr := util.EnsureValidURL(serverURI) + serverURI, parseErr := httpw.EnsureValidURL(serverURI) if parseErr != nil { t.Skip("Skipping server test as the server uri is not valid") } -- cgit v1.2.3