Procházet zdrojové kódy

test(alerting): fix broken tests

bergquist před 9 roky
rodič
revize
b5d92b6191
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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")
 				})
 			})