mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-03-31 02:47:56 +00:00
refactor: tests (#731)
* tests: rework tests for context controller * tests: add tests for health controller * tests: add tests for oidc controller * tests: use testify assert in context and health controller * tests: add tests for user controller * tests: add tests for resources controller * tests: add well known controller tests * test: add proxy controller tests * chore: review comments * chore: more review comments * chore: cancel lockdown in testing * tests: fix get cookie domain tests * chore: add comment for testing passwords
This commit is contained in:
@@ -19,7 +19,7 @@ func (controller *HealthController) SetupRoutes() {
|
||||
|
||||
func (controller *HealthController) healthHandler(c *gin.Context) {
|
||||
c.JSON(200, gin.H{
|
||||
"status": "ok",
|
||||
"status": 200,
|
||||
"message": "Healthy",
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user