(t *testing.T)
| 60 | } |
| 61 | |
| 62 | func TestBuildHTTPClient_Default(t *testing.T) { |
| 63 | t.Parallel() |
| 64 | |
| 65 | // When no TLS customization is needed, should return http.DefaultClient |
| 66 | client, err := buildHTTPClient(false, "", "", "") |
| 67 | require.NoError(t, err) |
| 68 | assert.Equal(t, http.DefaultClient, client) |
| 69 | } |
| 70 | |
| 71 | func TestBuildHTTPClient_Insecure(t *testing.T) { |
| 72 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…