1. 升级 skywalking 对应依赖版本
2. 整合 eban 相关配置,新增登出时同步全局失效 eban token 接口
This commit is contained in:
@@ -252,7 +252,7 @@ public class DeptServiceImplTest extends BaseDbUnitTest {
|
||||
deptMapper.insert(parentDept);
|
||||
|
||||
// mock 同级重名部门
|
||||
String duplicateName = randomString(6);
|
||||
String duplicateName = randomString();
|
||||
DeptDO deptDO = randomPojo(DeptDO.class, o -> {
|
||||
o.setParentId(parentDept.getId());
|
||||
o.setName(duplicateName);
|
||||
@@ -268,7 +268,7 @@ public class DeptServiceImplTest extends BaseDbUnitTest {
|
||||
@Test
|
||||
public void testValidateDeptNameUnique_topLevelDuplicateAllowed() {
|
||||
// mock 顶级部门
|
||||
String duplicateName = randomString(6);
|
||||
String duplicateName = randomString();
|
||||
DeptDO topLevelDept = randomPojo(DeptDO.class, o -> {
|
||||
o.setParentId(DeptDO.PARENT_ID_ROOT);
|
||||
o.setName(duplicateName);
|
||||
@@ -294,7 +294,7 @@ public class DeptServiceImplTest extends BaseDbUnitTest {
|
||||
}).setDeptSource(null);
|
||||
deptMapper.insert(parentB);
|
||||
|
||||
String duplicateName = randomString(6);
|
||||
String duplicateName = randomString();
|
||||
DeptDO childUnderA = randomPojo(DeptDO.class, o -> {
|
||||
o.setParentId(parentA.getId());
|
||||
o.setName(duplicateName);
|
||||
|
||||
Reference in New Issue
Block a user