1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00
external-secrets/pkg/provider/azure/keyvault
Eng Zer Jun 0c9efa67b0
test: use T.Setenv to set env vars in tests (#1611)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-06 22:05:42 +02:00
..
fake fix: aws parameter store json decode, bump go 1.19 (#1525) 2022-09-06 19:46:36 +02:00
keyvault.go chore: refactor provider (#1529) 2022-09-12 14:55:46 +02:00
keyvault_auth_test.go test: use T.Setenv to set env vars in tests (#1611) 2022-10-06 22:05:42 +02:00
keyvault_test.go Lint fixes 2022-06-13 09:27:54 -04:00