Rename skip verify env

This commit is contained in:
Mitchell Hashimoto
2015-05-11 11:27:20 -07:00
parent 51a806b266
commit a07bd713ca
2 changed files with 3 additions and 3 deletions

View File

@@ -44,10 +44,10 @@ func TestFlagSet(t *testing.T) {
func TestEnvSettings(t *testing.T) {
os.Setenv("VAULT_CACERT", "/path/to/fake/cert.crt")
os.Setenv("VAULT_CAPATH", "/path/to/fake/certs")
os.Setenv("VAULT_INSECURE", "true")
os.Setenv("VAULT_SKIP_VERIFY", "true")
defer os.Setenv("VAULT_CACERT", "")
defer os.Setenv("VAULT_CAPATH", "")
defer os.Setenv("VAULT_INSECURE", "")
defer os.Setenv("VAULT_SKIP_VERIFY", "")
var m Meta
// Err is ignored as it is expected that the test settings