forked from TrueCloudLab/certificates
Fix unit test
This commit is contained in:
parent
6d532045dc
commit
ead742ca0f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue