diff --git a/zsw-farm/zsw-farm-impl/src/test/java/cn/iocoder/yudao/module/farm/service/project/ProjectServiceImplTest.java b/zsw-farm/zsw-farm-impl/src/test/java/cn/iocoder/yudao/module/farm/service/project/ProjectServiceImplTest.java index b65e9a87..2bb23370 100644 --- a/zsw-farm/zsw-farm-impl/src/test/java/cn/iocoder/yudao/module/farm/service/project/ProjectServiceImplTest.java +++ b/zsw-farm/zsw-farm-impl/src/test/java/cn/iocoder/yudao/module/farm/service/project/ProjectServiceImplTest.java @@ -110,7 +110,6 @@ public class ProjectServiceImplTest extends BaseDbUnitTest { ProjectDO dbProject = randomPojo(ProjectDO.class, o -> { // 等会查询到 o.setName(null); o.setContent(null); - o.setResources(null); o.setImages(null); o.setPlanStartTime(null); o.setPlanEndTime(null); @@ -122,8 +121,6 @@ public class ProjectServiceImplTest extends BaseDbUnitTest { projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setName(null))); // 测试 content 不匹配 projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setContent(null))); - // 测试 resources 不匹配 - projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setResources(null))); // 测试 images 不匹配 projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setImages(null))); // 测试 planStartTime 不匹配 @@ -163,7 +160,6 @@ public class ProjectServiceImplTest extends BaseDbUnitTest { ProjectDO dbProject = randomPojo(ProjectDO.class, o -> { // 等会查询到 o.setName(null); o.setContent(null); - o.setResources(null); o.setImages(null); o.setPlanStartTime(null); o.setPlanEndTime(null); @@ -175,8 +171,6 @@ public class ProjectServiceImplTest extends BaseDbUnitTest { projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setName(null))); // 测试 content 不匹配 projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setContent(null))); - // 测试 resources 不匹配 - projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setResources(null))); // 测试 images 不匹配 projectMapper.insert(cloneIgnoreId(dbProject, o -> o.setImages(null))); // 测试 planStartTime 不匹配