Skip to content

Commit

Permalink
tech(tests): remove unused code that breaks gorename
Browse files Browse the repository at this point in the history
  • Loading branch information
bergquist committed Jun 25, 2016
1 parent c2689b0 commit 16fa631
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/middleware/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 16fa631

Please sign in to comment.