test(config): test if config can be overwritten in field granularity

This commit is contained in:
hexxa 2022-01-30 09:29:00 +08:00 committed by Hexxa
parent 28d075122d
commit 79e3f868a5
3 changed files with 3 additions and 3 deletions

View file

@ -202,7 +202,7 @@ func TestLoadCfg(t *testing.T) {
EnableAuth: true,
DefaultAdmin: "5",
DefaultAdminPwd: "5",
CookieTTL: 5,
CookieTTL: 4,
CookieSecure: true,
CookieHttpOnly: true,
MinUserNameLen: 5,
@ -267,7 +267,7 @@ func TestLoadCfg(t *testing.T) {
EnableAuth: true,
DefaultAdmin: "5",
DefaultAdminPwd: "5",
CookieTTL: 5,
CookieTTL: 4,
CookieSecure: true,
CookieHttpOnly: true,
MinUserNameLen: 5,