test: 完善单元测试

This commit is contained in:
陈淳
2024-04-29 17:50:51 +08:00
parent 32aca8c6a8
commit 29ee0b5945
16 changed files with 509 additions and 28 deletions

View File

@@ -15,11 +15,13 @@ namespace Yi.Framework.Rbac.Domain.Shared.Consts
public const string Login_Error = "登录失败!用户名或密码错误!";
public const string Login_User_No_Exist = "登录失败!用户名不存在!";
public const string Login_Passworld_Error = "密码为空,添加失败!";
public const string User_Exist = "用户已经存在,添加失败!";
public const string Create_Passworld_Error = "密码格式错误长度需大于等于6位";
public const string User_Exist = "用户已经存在,创建失败!";
public const string State_Is_State = "该用户已被禁用,请联系管理员进行恢复";
public const string No_Permission = "登录禁用!该用户分配无任何权限,无意义登录!";
public const string No_Role = "登录禁用!该用户分配无任何角色,无意义登录!";
public const string Name_Not_Allowed = "用户名被禁止";
public const string Phone_Repeat = "手机号已重复";
//子租户管理员
public const string Admin = "cc";