mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech(tests): remove unused code that breaks gorename
This commit is contained in:
parent
c2689b0c2b
commit
16fa631ea0
@ -191,9 +191,7 @@ func TestMiddlewareContext(t *testing.T) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
var createUserCmd *m.CreateUserCommand
|
|
||||||
bus.AddHandler("test", func(cmd *m.CreateUserCommand) error {
|
bus.AddHandler("test", func(cmd *m.CreateUserCommand) error {
|
||||||
createUserCmd = cmd
|
|
||||||
cmd.Result = m.User{Id: 33}
|
cmd.Result = m.User{Id: 33}
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user