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

test(alerting): fix broken tests

bergquist 9 лет назад
Родитель
Сommit
b5d92b6191
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/services/alerting/conditions/query_test.go

+ 1 - 1
pkg/services/alerting/conditions/query_test.go

@@ -36,7 +36,7 @@ func TestQueryCondition(t *testing.T) {
 				Convey("Can read evaluator", func() {
 					evaluator, ok := ctx.condition.Evaluator.(*DefaultAlertEvaluator)
 					So(ok, ShouldBeTrue)
-					So(evaluator.Type, ShouldEqual, ">")
+					So(evaluator.Type, ShouldEqual, "gt")
 				})
 			})