From 6ca05757eebf0c7ab8aa18e496d6922ce2be7049 Mon Sep 17 00:00:00 2001 From: Pete Wildsmith Date: Wed, 26 Apr 2017 21:13:54 +0100 Subject: [PATCH] fix config parse test --- command/agent/config-test-fixtures/basic.hcl | 2 ++ command/agent/config_parse_test.go | 2 ++ 2 files changed, 4 insertions(+) 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": "*",