Fixing certificate test
This commit is contained in:
parent
6061f28914
commit
dcfda9e25b
|
|
@ -208,6 +208,8 @@ func TestGetCertPool(t *testing.T) {
|
|||
certFile2 := makeTestCertFile(t, root2Cert, tempDir)
|
||||
|
||||
certPool, err := GetCertPool([]string{certFile1.Name(), certFile2.Name()})
|
||||
certFile1.Close()
|
||||
certFile2.Close()
|
||||
assert.NoError(t, err)
|
||||
|
||||
cert1Block, _ := pem.Decode([]byte(cert1Cert))
|
||||
|
|
|
|||
Loading…
Reference in New Issue