Skip to content

Commit

Permalink
Merge pull request #81 from notzippy/develop
Browse files Browse the repository at this point in the history
Missed a type change
  • Loading branch information
notzippy authored Sep 22, 2018
2 parents f11f12d + cf8fce9 commit 5b32282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server-engine/gohttptest/testsuite/test_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func RevelTestHelper(m *testing.M, mode string, runner func(port int)) {
flag.Parse()
// call flag.Parse() here if TestMain uses flags
locker := sync.Mutex{}
revel.AddInitEventHandler(func(event int, value interface{}) (returnType int) {
revel.AddInitEventHandler(func(event revel.Event, value interface{}) (returnType revel.EventResponse) {
if event == revel.REVEL_BEFORE_MODULES_LOADED {
revel.Config.SetOption("server.engine", "go-test")
revel.Config.SetOption("module.go-test", "github.com/revel/modules/server-engine/gohttptest")
Expand Down

0 comments on commit 5b32282

Please sign in to comment.