Просмотр исходного кода

test(alerting): add test for deleting alerts

bergquist 9 лет назад
Родитель
Сommit
f167ce19ab
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      pkg/services/sqlstore/alerting_test.go

+ 0 - 3
pkg/services/sqlstore/alerting_test.go

@@ -159,8 +159,6 @@ func TestAlertingDataAccess(t *testing.T) {
 				Slug:  testDash.Slug,
 			})
 
-			/* Uncomment this once we know why inTransaction2 is failing in unit tests
-
 			So(err, ShouldBeNil)
 
 			Convey("Alerts should be removed", func() {
@@ -170,7 +168,6 @@ func TestAlertingDataAccess(t *testing.T) {
 				So(err2, ShouldBeNil)
 				So(len(alerts), ShouldEqual, 0)
 			})
-			*/
 		})
 	})
 }