(t *testing.T)
| 464 | } |
| 465 | |
| 466 | func TestSetRootCertFromFile(t *testing.T) { |
| 467 | c := tc().SetRootCertsFromFile(tests.GetTestFilePath("sample-root.pem")) |
| 468 | tests.AssertEqual(t, true, c.TLSClientConfig.RootCAs != nil) |
| 469 | } |
| 470 | |
| 471 | func TestSetRootCertFromString(t *testing.T) { |
| 472 | c := tc().SetRootCertFromString(string(getTestFileContent(t, "sample-root.pem"))) |
nothing calls this directly
no test coverage detected
searching dependent graphs…