fix(test): 修复测试类中对象实例化错误
- 添加了 SystemDeptTb 类的导入声明 - 将 SystemDeptVo 对象替换为 SystemDeptTb 对象 - 确保测试代码使用正确的数据对象类型
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
package cn.odboy;
|
||||
|
||||
import cn.hutool.core.collection.CollUtil;
|
||||
import cn.odboy.system.dal.dataobject.SystemDeptTb;
|
||||
import cn.odboy.system.dal.dataobject.SystemJobTb;
|
||||
import cn.odboy.system.dal.dataobject.SystemRoleTb;
|
||||
import cn.odboy.system.dal.model.response.SystemDeptVo;
|
||||
@@ -40,7 +41,7 @@ public class SystemApplicationTests {
|
||||
|
||||
@Test
|
||||
public void contextLoads() {
|
||||
SystemDeptVo systemDept = new SystemDeptVo();
|
||||
SystemDeptTb systemDept = new SystemDeptTb();
|
||||
systemDept.setId(2L);
|
||||
SystemJobTb systemJob = new SystemJobTb();
|
||||
systemJob.setId(11L);
|
||||
|
||||
Reference in New Issue
Block a user