MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / TestWithCAFile

Function TestWithCAFile

pkg/grpcconn/grpcconn_test.go:126–130  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

124}
125
126func TestWithCAFile(t *testing.T) {
127 opt := &newOptionalArg{}
128 WithCAFile("/path/to/ca.pem")(opt)
129 assert.Equal(t, "/path/to/ca.pem", opt.caFilePath)
130}
131
132func TestWithCAContent(t *testing.T) {
133 opt := &newOptionalArg{}

Callers

nothing calls this directly

Calls 1

WithCAFileFunction · 0.85

Tested by

no test coverage detected