Fix: Add missing store in test rule (#46151)

This commit is contained in:
Selene authored and GitHub committed 2022-03-03 12:00:33 +01:00
1 parent fa7323e6d5
commit 87d3c06fef
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ func (e *AlertEngine) AlertTest(orgID int64, dashboard *simplejson.Json, panelID
handler := NewEvalHandler(e.DataService)
context := NewEvalContext(context.Background(), rule, fakeRequestValidator{}, nil)
context := NewEvalContext(context.Background(), rule, fakeRequestValidator{}, e.sqlStore)
context.IsTestRun = true
context.IsDebug = true