mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:42:22 +08:00
removes unnessecary db request
This commit is contained in:
@ -200,8 +200,6 @@ func TestAlertRuleExtraction(t *testing.T) {
|
||||
|
||||
Convey("Alert notifications are in DB", func() {
|
||||
sqlstore.InitTestDB(t)
|
||||
err := sqlstore.CreateOrg(&m.CreateOrgCommand{Name: "Main Org."})
|
||||
So(err, ShouldBeNil)
|
||||
firstNotification := m.CreateAlertNotificationCommand{Uid: "notifier1", OrgId: 1, Name: "1"}
|
||||
err = sqlstore.CreateAlertNotificationCommand(&firstNotification)
|
||||
So(err, ShouldBeNil)
|
||||
|
Reference in New Issue
Block a user