1、禅道#582、#583、#584、#587问题修复;2、无用字段移除:needSetPwd、password;

This commit is contained in:
gaoqr
2024-11-25 11:27:59 +08:00
parent ca0acb5896
commit b6a81f2151
8 changed files with 6 additions and 22 deletions
@@ -106,8 +106,6 @@ public class AdminUserServiceImplTest extends BaseDbUnitTest {
o.setStatus(CommonStatusEnum.ENABLE.getStatus());
}));
//when(postService.getPostList(eq(reqVO.getPostIds()), isNull())).thenReturn(posts);
// mock passwordEncoder 的方法
when(passwordEncoder.encode(eq(reqVO.getPassword()))).thenReturn("chenfengyuanma");
// 调用
Long userId = userService.createUser(reqVO);