mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Provisioning: Support alert notification channel secure settings (#26168)
Closes #25968
This commit is contained in:
committed by
GitHub
parent
8746a77407
commit
7969d6645a
@@ -66,6 +66,9 @@ func TestNotificationAsConfig(t *testing.T) {
|
||||
So(nt.Settings, ShouldResemble, map[string]interface{}{
|
||||
"recipient": "XXX", "token": "xoxb", "uploadImage": true, "url": "https://slack.com",
|
||||
})
|
||||
So(nt.SecureSettings, ShouldResemble, map[string]string{
|
||||
"token": "xoxbsecure", "url": "https://slack.com/secure",
|
||||
})
|
||||
So(nt.SendReminder, ShouldBeTrue)
|
||||
So(nt.Frequency, ShouldEqual, "1h")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user