From 44310921b5252ba6e86d58092e5e56ae7c02ac24 Mon Sep 17 00:00:00 2001 From: bergquist Date: Mon, 25 Apr 2016 08:34:48 +0200 Subject: [PATCH] test(alerting): add commented failed test --- pkg/services/sqlstore/alerting_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/services/sqlstore/alerting_test.go b/pkg/services/sqlstore/alerting_test.go index 1ab725b2076..9d1078f23ef 100644 --- a/pkg/services/sqlstore/alerting_test.go +++ b/pkg/services/sqlstore/alerting_test.go @@ -154,13 +154,15 @@ func TestAlertingDataAccess(t *testing.T) { SaveAlerts(&cmd) - DeleteDashboard(&m.DeleteDashboardCommand{ + err = DeleteDashboard(&m.DeleteDashboardCommand{ OrgId: 1, Slug: testDash.Slug, }) /* Uncomment this once we know why inTransaction2 is failing in unit tests + So(err, ShouldBeNil) + Convey("Alerts should be removed", func() { alerts, err2 := GetAlertsByDashboardId(testDash.Id)