Skip to content

Commit 61bb9cb

Browse files
committed
test(alerting): fixes broken unit test
1 parent a3b0fbc commit 61bb9cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/services/alerting/eval_handler_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ func TestAlertingExecutor(t *testing.T) {
3636
Convey("Show return false with not passing asdf", func() {
3737
context := NewEvalContext(context.TODO(), &Rule{
3838
Conditions: []Condition{
39-
&conditionStub{firing: true, matches: []*EvalMatch{&EvalMatch{}, &EvalMatch{}}},
40-
&conditionStub{firing: false},
39+
&conditionStub{firing: true, operator: "and", matches: []*EvalMatch{&EvalMatch{}, &EvalMatch{}}},
40+
&conditionStub{firing: false, operator: "and"},
4141
},
4242
})
4343

0 commit comments

Comments
 (0)