Fix: failed testing

This commit is contained in:
HFO4 2019-11-12 16:23:24 +08:00
parent c8c85501e4
commit 2cdbfde83a
2 changed files with 3 additions and 2 deletions

View file

@ -25,7 +25,8 @@ func TestGetUserByID(t *testing.T) {
ID: 1,
DeletedAt: nil,
},
Email: "admin@cloudreve.org",
Email: "admin@cloudreve.org",
Options: "{}",
}, user)
//未找到用户时

View file

@ -55,7 +55,7 @@ func TestParamErrorMsg(t *testing.T) {
{
"UserName",
"required",
"用户名不能为空",
"邮箱不能为空",
},
{
"Password",