tech(tests): remove unused code that breaks gorename

This commit is contained in:
bergquist 2016-06-25 16:34:42 +02:00
parent c2689b0c2b
commit 16fa631ea0

View File

@ -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
}) })