grafana/pkg/services/provisioning/notifiers
Eng Zer Jun cf1945d0c3
Tests: use t.Setenv to set env vars (#69516)
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>
2023-06-05 11:31:03 +02:00
..
testdata/test-configs Slack: Use chat.postMessage API by default (#32511) 2021-04-22 16:00:21 +02:00
alert_notifications.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
config_reader_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
config_reader.go chore: move alert-related models (#61716) 2023-01-23 08:19:25 -05:00
types.go Provisioning: Support alert notification channel secure settings (#26168) 2020-07-17 13:54:01 +02:00