job 单元测试

This commit is contained in:
neilz
2021-03-14 20:59:40 +08:00
parent 0775e85aac
commit ca1132f2df
5 changed files with 439 additions and 38 deletions

View File

@ -13,7 +13,6 @@ import cn.iocoder.dashboard.modules.infra.dal.mysql.job.InfJobMapper;
import cn.iocoder.dashboard.modules.infra.enums.job.InfJobStatusEnum;
import cn.iocoder.dashboard.modules.infra.service.job.InfJobService;
import org.quartz.SchedulerException;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.validation.annotation.Validated;
@ -38,7 +37,6 @@ public class InfJobServiceImpl implements InfJobService {
@Resource
private InfJobMapper jobMapper;
@MockBean
@Resource
private SchedulerManager schedulerManager;