Fix unit test

This commit is contained in:
Mariano Cano 2022-03-15 12:13:01 -07:00
parent 6d532045dc
commit ead742ca0f

View file

@ -1142,7 +1142,7 @@ func TestClient_GetCaURL(t *testing.T) {
} }
for _, tt := range tests { for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {
c, err := NewClient(tt.caURL) c, err := NewClient(tt.caURL, WithTransport(http.DefaultTransport))
if err != nil { if err != nil {
t.Errorf("NewClient() error = %v", err) t.Errorf("NewClient() error = %v", err)
return return