1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-15 17:51:01 +00:00
external-secrets/pkg
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
..
controllers New Duration Metric (#1533) 2022-09-12 19:19:45 +02:00
find feature: aws getallsecrets (#820) 2022-03-24 17:09:32 +01:00
provider test: use T.Setenv to set env vars in tests (#1611) 2022-10-06 22:05:42 +02:00
template fix: aws parameter store json decode, bump go 1.19 (#1525) 2022-09-06 19:46:36 +02:00
utils fix: aws parameter store json decode, bump go 1.19 (#1525) 2022-09-06 19:46:36 +02:00