diff --git a/command/agent/config-test-fixtures/basic.hcl b/command/agent/config-test-fixtures/basic.hcl index cd741295d..65c0b874e 100644 --- a/command/agent/config-test-fixtures/basic.hcl +++ b/command/agent/config-test-fixtures/basic.hcl @@ -138,4 +138,6 @@ tls { ca_file = "foo" cert_file = "bar" key_file = "pipe" + verify_incoming = true + verify_outgoing = true } diff --git a/command/agent/config_parse_test.go b/command/agent/config_parse_test.go index 19fccdf64..cec5cbef2 100644 --- a/command/agent/config_parse_test.go +++ b/command/agent/config_parse_test.go @@ -154,6 +154,8 @@ func TestConfig_Parse(t *testing.T) { CAFile: "foo", CertFile: "bar", KeyFile: "pipe", + VerifyIncoming: true, + VerifyOutgoing: true, }, HTTPAPIResponseHeaders: map[string]string{ "Access-Control-Allow-Origin": "*",