mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 10:50:37 -06:00
cf1945d0c3
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> |
||
---|---|---|
.. | ||
alerting | ||
dashboards | ||
datasources | ||
notifiers | ||
plugins | ||
utils | ||
values | ||
provisioning_mock.go | ||
provisioning_test.go | ||
provisioning.go |