MW usage refactor
This commit is contained in:
parent
229eebcf66
commit
21b54c4167
9 changed files with 98 additions and 48 deletions
|
|
@ -37,7 +37,7 @@ func setupTestRouter(mockRepo Repository) *gin.Engine {
|
|||
c.Next()
|
||||
})
|
||||
|
||||
handler.RegisterRoutes(router.Group(""))
|
||||
handler.RegisterRoutes(router.Group(""), nil)
|
||||
|
||||
return router
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue