test(config): test if config can be overwritten in field granularity
This commit is contained in:
parent
28d075122d
commit
79e3f868a5
3 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue