mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-06-14 23:40:16 +00:00
tests: use new inputs in tests
This commit is contained in:
@@ -55,7 +55,9 @@ func TestHealthController(t *testing.T) {
|
||||
group := router.Group("/api")
|
||||
gin.SetMode(gin.TestMode)
|
||||
|
||||
controller.NewHealthController(group)
|
||||
controller.NewHealthController(controller.HealthControllerInput{
|
||||
RouterGroup: group,
|
||||
})
|
||||
|
||||
recorder := httptest.NewRecorder()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user