mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixing json for CI
This commit is contained in:
parent
00726e93eb
commit
89ca4b247b
@ -51,13 +51,13 @@ func TestSlackNotifier(t *testing.T) {
|
||||
So(slackNotifier.Token, ShouldEqual, "")
|
||||
})
|
||||
|
||||
Convey("from settings with Recipient and Mention", func() {
|
||||
Convey("from settings with Recipient, Mention, and Token", func() {
|
||||
json := `
|
||||
{
|
||||
"url": "http://google.com",
|
||||
"recipient": "#ds-opentsdb",
|
||||
"mention": "@carl"
|
||||
"token": "xoxb-XXXXXXXX-XXXXXXXX-XXXXXXXXXX",
|
||||
"mention": "@carl",
|
||||
"token": "xoxb-XXXXXXXX-XXXXXXXX-XXXXXXXXXX"
|
||||
}`
|
||||
|
||||
settingsJSON, _ := simplejson.NewJson([]byte(json))
|
||||
|
Loading…
Reference in New Issue
Block a user