test(users, settings): add e2e tests for ResetUsedSpace and WorkerQueueLen

This commit is contained in:
hexxa 2022-03-09 16:59:47 +08:00 committed by Hexxa
parent 4dcd2c56ca
commit 21593af444
10 changed files with 165 additions and 44 deletions

View file

@ -319,6 +319,7 @@ func initHandlers(router *gin.Engine, cfg gocfg.ICfg, deps *depidx.Deps) (*gin.E
settingsAPI.GET("/client", settingsSvc.GetClientCfg)
settingsAPI.PATCH("/client", settingsSvc.SetClientCfg)
settingsAPI.POST("/errors", settingsSvc.ReportErrors)
settingsAPI.GET("/workers/queue-len", settingsSvc.WorkerQueueLen)
return router, nil
}