mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Fix: failed testing
This commit is contained in:
@@ -26,6 +26,7 @@ func TestGetUserByID(t *testing.T) {
|
|||||||
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",
|
||||||
|
|||||||
Reference in New Issue
Block a user