summaryrefslogtreecommitdiff
path: root/client_test.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-17 11:32:19 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-17 11:44:18 +0200
commit8635f8bbf5e4383fb2db6774757157f29195aec1 (patch)
treedb1bf71bf903a920b1330cc88689778adf19725d /client_test.go
parent51b536b45fce6bf2d7ec8bbfe6ce30faec11c88e (diff)
Server + Util: Ensure the base URL already ends with a /
Diffstat (limited to 'client_test.go')
-rw-r--r--client_test.go3
1 files changed, 2 insertions, 1 deletions
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