Fix sslmode require test

pull/329/head
Jack Christensen 2017-09-09 11:05:27 -05:00
parent 30fa7cc37f
commit a1e4d17e58
1 changed files with 1 additions and 1 deletions

View File

@ -854,7 +854,7 @@ func TestParseEnvLibpq(t *testing.T) {
"PGSSLMODE": "require",
},
config: pgx.ConnConfig{
TLSConfig: &tls.Config{},
TLSConfig: &tls.Config{InsecureSkipVerify: true},
UseFallbackTLS: false,
RuntimeParams: map[string]string{},
},