mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
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> |
||
---|---|---|
.. | ||
testdata | ||
config_reader_test.go | ||
config_reader.go | ||
datasources.go | ||
types_test.go | ||
types.go |