|
|
|
|
@ -8,9 +8,11 @@ import cn.iocoder.yudao.module.bpm.controller.admin.definition.vo.category.BpmCa
|
|
|
|
|
import cn.iocoder.yudao.module.bpm.dal.dataobject.definition.BpmCategoryDO;
|
|
|
|
|
import cn.iocoder.yudao.module.bpm.dal.mysql.category.BpmCategoryMapper;
|
|
|
|
|
import cn.iocoder.yudao.module.bpm.service.definition.BpmCategoryServiceImpl;
|
|
|
|
|
import cn.iocoder.yudao.module.bpm.service.definition.BpmModelService;
|
|
|
|
|
import jakarta.annotation.Resource;
|
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
|
import org.springframework.context.annotation.Import;
|
|
|
|
|
import org.springframework.test.context.bean.override.mockito.MockitoBean;
|
|
|
|
|
|
|
|
|
|
import static cn.iocoder.yudao.framework.common.util.date.LocalDateTimeUtils.buildBetweenTime;
|
|
|
|
|
import static cn.iocoder.yudao.framework.common.util.date.LocalDateTimeUtils.buildTime;
|
|
|
|
|
@ -32,6 +34,9 @@ public class BpmCategoryServiceImplTest extends BaseDbUnitTest {
|
|
|
|
|
@Resource
|
|
|
|
|
private BpmCategoryServiceImpl categoryService;
|
|
|
|
|
|
|
|
|
|
@MockitoBean
|
|
|
|
|
private BpmModelService modelService;
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
private BpmCategoryMapper categoryMapper;
|
|
|
|
|
|
|
|
|
|
|