Skip to content

Commit dfce9d9

Browse files
committed
Set env
Signed-off-by: Somtochi Onyekwere <[email protected]>
1 parent d49d7ca commit dfce9d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/sops/hcvault/keysource_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ var (
3939
// make use of the various `test*` variables.
4040
func TestMain(m *testing.M) {
4141
// this is set to prevent "certificate signed by unknown authority" errors
42+
os.Setenv("VAULT_SKIP_VERIFY", "true")
4243
os.Setenv("VAULT_INSECURE", "true")
4344
t := &testing.T{}
4445
coreConfig := &vault.CoreConfig{

0 commit comments

Comments
 (0)