|
|
@ -110,7 +110,6 @@ public class ProjectServiceImplTest extends BaseDbUnitTest { |
|
|
|
ProjectDO dbProject = randomPojo(ProjectDO.class, o -> { // 等会查询到
|
|
|
|
ProjectDO dbProject = randomPojo(ProjectDO.class, o -> { // 等会查询到
|
|
|
|
o.setName(null); |
|
|
|
o.setName(null); |
|
|
|
o.setContent(null); |
|
|
|
o.setContent(null); |
|
|
|
o.setResources(null); |
|
|
|
|
|
|
|
o.setImages(null); |
|
|
|
o.setImages(null); |
|
|
|
o.setPlanStartTime(null); |
|
|
|
o.setPlanStartTime(null); |
|
|
|
o.setPlanEndTime(null); |
|
|
|
o.setPlanEndTime(null); |
|
|
@ -122,8 +121,6 @@ public class ProjectServiceImplTest extends BaseDbUnitTest { |
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setName(null))); |
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setName(null))); |
|
|
|
// 测试 content 不匹配
|
|
|
|
// 测试 content 不匹配
|
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setContent(null))); |
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setContent(null))); |
|
|
|
// 测试 resources 不匹配
|
|
|
|
|
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setResources(null))); |
|
|
|
|
|
|
|
// 测试 images 不匹配
|
|
|
|
// 测试 images 不匹配
|
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setImages(null))); |
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setImages(null))); |
|
|
|
// 测试 planStartTime 不匹配
|
|
|
|
// 测试 planStartTime 不匹配
|
|
|
@ -163,7 +160,6 @@ public class ProjectServiceImplTest extends BaseDbUnitTest { |
|
|
|
ProjectDO dbProject = randomPojo(ProjectDO.class, o -> { // 等会查询到
|
|
|
|
ProjectDO dbProject = randomPojo(ProjectDO.class, o -> { // 等会查询到
|
|
|
|
o.setName(null); |
|
|
|
o.setName(null); |
|
|
|
o.setContent(null); |
|
|
|
o.setContent(null); |
|
|
|
o.setResources(null); |
|
|
|
|
|
|
|
o.setImages(null); |
|
|
|
o.setImages(null); |
|
|
|
o.setPlanStartTime(null); |
|
|
|
o.setPlanStartTime(null); |
|
|
|
o.setPlanEndTime(null); |
|
|
|
o.setPlanEndTime(null); |
|
|
@ -175,8 +171,6 @@ public class ProjectServiceImplTest extends BaseDbUnitTest { |
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setName(null))); |
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setName(null))); |
|
|
|
// 测试 content 不匹配
|
|
|
|
// 测试 content 不匹配
|
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setContent(null))); |
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setContent(null))); |
|
|
|
// 测试 resources 不匹配
|
|
|
|
|
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setResources(null))); |
|
|
|
|
|
|
|
// 测试 images 不匹配
|
|
|
|
// 测试 images 不匹配
|
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setImages(null))); |
|
|
|
projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setImages(null))); |
|
|
|
// 测试 planStartTime 不匹配
|
|
|
|
// 测试 planStartTime 不匹配
|
|
|
|