fix(test): fix config loading test failure

This commit is contained in:
hexxa 2022-04-09 20:25:35 +08:00 committed by Hexxa
parent b3574b64fb
commit 71ea41cb07
3 changed files with 9 additions and 1 deletions

View file

@ -216,6 +216,8 @@ func TestLoadCfg(t *testing.T) {
Align: "4",
BgColor: "4",
},
AllowSetBg: true,
AutoTheme: true,
},
},
Db: &DbConfig{
@ -282,6 +284,8 @@ func TestLoadCfg(t *testing.T) {
Align: "4",
BgColor: "4",
},
AllowSetBg: true,
AutoTheme: true,
},
},
Db: &DbConfig{
@ -348,6 +352,8 @@ func TestLoadCfg(t *testing.T) {
Align: "4",
BgColor: "4",
},
AllowSetBg: true,
AutoTheme: true,
},
},
Db: &DbConfig{

View file

@ -47,5 +47,7 @@ site:
position: "4"
align: "4"
bgColor: "4"
allowSetBg: true
autoTheme: true
db:
dbPath: "4"
dbPath: "4"

Binary file not shown.