mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Fix client test
This commit is contained in:
@@ -163,8 +163,8 @@ func TestClientEnvSettings(t *testing.T) {
|
||||
if len(tlsConfig.RootCAs.Subjects()) == 0 {
|
||||
t.Fatalf("bad: expected a cert pool with at least one subject")
|
||||
}
|
||||
if len(tlsConfig.Certificates) != 1 {
|
||||
t.Fatalf("bad: expected client tls config to have a client certificate")
|
||||
if tlsConfig.GetCertificate == nil {
|
||||
t.Fatalf("bad: expected client tls config to have a certificate getter")
|
||||
}
|
||||
if tlsConfig.InsecureSkipVerify != true {
|
||||
t.Fatalf("bad: %v", tlsConfig.InsecureSkipVerify)
|
||||
|
||||
Reference in New Issue
Block a user