3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00

test(alerting): remove unused code to enable gorename

This commit is contained in:
bergquist 2016-06-10 07:11:14 +02:00
parent fdf051ad5a
commit b17298c97c

View File

@ -191,9 +191,7 @@ func TestMiddlewareContext(t *testing.T) {
}
})
var createUserCmd *m.CreateUserCommand
bus.AddHandler("test", func(cmd *m.CreateUserCommand) error {
createUserCmd = cmd
cmd.Result = m.User{Id: 33}
return nil
})