(t *testing.T)
| 469 | } |
| 470 | |
| 471 | func TestSetRootCertFromString(t *testing.T) { |
| 472 | c := tc().SetRootCertFromString(string(getTestFileContent(t, "sample-root.pem"))) |
| 473 | tests.AssertEqual(t, true, c.TLSClientConfig.RootCAs != nil) |
| 474 | } |
| 475 | |
| 476 | func TestSetCerts(t *testing.T) { |
| 477 | c := tc().SetCerts(tls.Certificate{}, tls.Certificate{}) |
nothing calls this directly
no test coverage detected
searching dependent graphs…