Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleygo committed Oct 13, 2023
1 parent ee6f554 commit ee2db65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/vmalert/web_test.go
Expand Up @@ -28,7 +28,7 @@ func TestHandler(t *testing.T) {
ar := rule.NewAlertingRule(fq, g, config.Rule{Alert: "alert"})
rr := rule.NewRecordingRule(fq, g, config.Rule{Record: "record"})
g.Rules = []rule.Rule{ar, rr}
g.ExecOnce(context.Background(), func() []notifier.Notifier { return nil }, nil, time.Unix(0, 0))
g.ExecOnce(context.Background(), func() []notifier.Notifier { return nil }, nil, time.Time{})

m := &manager{groups: map[uint64]*rule.Group{
g.ID(): g,
Expand Down

0 comments on commit ee2db65

Please sign in to comment.