Fix: failed testing

pull/247/head
HFO4 6 years ago
parent c8c85501e4
commit 2cdbfde83a

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

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

Loading…
Cancel
Save