mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 04:19:25 +08:00
tech(tests): remove unused code that breaks gorename
This commit is contained in:
@ -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
|
||||
})
|
||||
|
Reference in New Issue
Block a user