From 8635f8bbf5e4383fb2db6774757157f29195aec1 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 17 Oct 2022 11:32:19 +0200 Subject: Server + Util: Ensure the base URL already ends with a / --- client_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client_test.go') diff --git a/client_test.go b/client_test.go index 77be634..583553b 100644 --- a/client_test.go +++ b/client_test.go @@ -175,7 +175,8 @@ func Test_connect_oauth_parameters(t *testing.T) { serverURI := getServerURI(t) - iss := serverURI + "/" + // serverURI already ends with a / due to using the util EnsureValidURL function + iss := serverURI tests := []struct { expectedErr interface{} parameters httpw.URLParameters -- cgit v1.2.3