feat(alerting): requests looks to be working again

This commit is contained in:
Torkel Ödegaard
2016-06-06 17:11:46 +02:00
parent d1acfb4494
commit 34e17f7282
33 changed files with 471 additions and 93 deletions

View File

@ -110,7 +110,7 @@ func TestAlertModel(t *testing.T) {
"aggregator": "sum",
"queryRange": "10m",
"frequency": 10,
"title": "active desktop users",
"name": "active desktop users",
"description": "restart webservers"
},
"links": []
@ -386,7 +386,7 @@ func TestAlertModel(t *testing.T) {
So(v.Query, ShouldNotBeEmpty)
So(v.QueryRefId, ShouldNotBeEmpty)
So(v.QueryRange, ShouldNotBeEmpty)
So(v.Title, ShouldNotBeEmpty)
So(v.Name, ShouldNotBeEmpty)
So(v.Description, ShouldNotBeEmpty)
}