util: add tests (#5989)

This commit is contained in:
ᴜɴᴋɴᴡᴏɴ
2020-03-16 01:54:08 +08:00
committed by GitHub
parent 9e9ca66467
commit a4de85dc80
6 changed files with 103 additions and 3 deletions

View File

@@ -20,5 +20,5 @@ func TemplatePreview(c *context.Context) {
c.Data["ResetPwdCodeLives"] = conf.Auth.ResetPasswordCodeLives / 60
c.Data["CurDbValue"] = ""
c.Success( (c.Params("*")))
c.Success(c.Params("*"))
}