feat(users): support avatar, email and bgColor in fe
This commit is contained in:
parent
817ced61de
commit
95e5be092a
12 changed files with 36 additions and 3 deletions
|
@ -457,6 +457,8 @@ func TestUsersHandlers(t *testing.T) {
|
|||
},
|
||||
CSSURL: "/cssurl",
|
||||
LanPackURL: "/lanpack",
|
||||
Avatar: "a1",
|
||||
Email: "email1",
|
||||
},
|
||||
&db.Preferences{
|
||||
Bg: &sitestore.BgConfig{
|
||||
|
@ -468,6 +470,8 @@ func TestUsersHandlers(t *testing.T) {
|
|||
},
|
||||
CSSURL: "/cssurl2",
|
||||
LanPackURL: "/lanpack2",
|
||||
Avatar: "a2",
|
||||
Email: "email2",
|
||||
},
|
||||
}
|
||||
for _, prefer := range prefers {
|
||||
|
|
BIN
src/server/testdata/test_quickshare.db
vendored
BIN
src/server/testdata/test_quickshare.db
vendored
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue