fix config parse test

This commit is contained in:
Pete Wildsmith 2017-04-26 21:13:54 +01:00
parent c948d2ee27
commit 829d9e60b9
2 changed files with 4 additions and 0 deletions

View File

@ -138,4 +138,6 @@ tls {
ca_file = "foo"
cert_file = "bar"
key_file = "pipe"
verify_incoming = true
verify_outgoing = true
}

View File

@ -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": "*",