fix broken code

This commit is contained in:
Marcus Efraimsson
2019-01-17 20:29:26 +01:00
parent 97c7963f17
commit 81879f0162
3 changed files with 3 additions and 3 deletions

View File

@ -487,7 +487,7 @@ func middlewareScenario(desc string, fn scenarioFunc) {
Delims: macaron.Delims{Left: "[[", Right: "]]"},
}))
sc.m.Use(GetContextHandler())
sc.m.Use(GetContextHandler(nil))
// mock out gc goroutine
session.StartSessionGC = func() {}
sc.m.Use(Sessioner(&ms.Options{}, 0))