summaryrefslogtreecommitdiff
path: root/client/httpsclient_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/httpsclient_test.go')
-rw-r--r--client/httpsclient_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/httpsclient_test.go b/client/httpsclient_test.go
index d220171..49152de 100644
--- a/client/httpsclient_test.go
+++ b/client/httpsclient_test.go
@@ -123,7 +123,7 @@ func setupWithRequests(t *testing.T, caFile, caPath, clientCAPath, clientCertPat
url := testserver.StartHttpsServer(t, requests, clientCAPath)
- var opts []HTTPClientOpt
+ opts := defaultHttpOpts
if clientCertPath != "" && clientKeyPath != "" {
opts = append(opts, WithClientCert(clientCertPath, clientKeyPath))
}