From bae7fd8d4058cbe67a96799ca3b5f1b6c72ca0cf Mon Sep 17 00:00:00 2001 From: Matt Fellows Date: Thu, 25 Mar 2021 13:19:45 +1100 Subject: [PATCH] chore: demonstrate use of loglevel and log dir for TLS provider --- examples/customTls/self_signed_certificate_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/customTls/self_signed_certificate_test.go b/examples/customTls/self_signed_certificate_test.go index 9e4ccbbe0..f3d0f8b6f 100644 --- a/examples/customTls/self_signed_certificate_test.go +++ b/examples/customTls/self_signed_certificate_test.go @@ -29,9 +29,11 @@ func TestExample_SelfSignedTLSProvider(t *testing.T) { ProviderBaseURL: fmt.Sprintf("https://localhost:%d", port), PactURLs: []string{filepath.ToSlash(fmt.Sprintf("%s/consumer-selfsignedtls.json", pactDir))}, CustomTLSConfig: &tls.Config{ - RootCAs: getCaCertPool(), - // InsecureSkipVerify: true, // Disable SSL verification altogether + RootCAs: getCaCertPool(), + InsecureSkipVerify: true, // Disable SSL verification altogether }, + PactLogDir: logDir, + PactLogLevel: "INFO", }) if err != nil {