diff --git a/infintech-executors/executor-collection-dispatcher/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java b/infintech-executors/executor-collection-dispatcher/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java index 702fdeda..f8e35772 100644 --- a/infintech-executors/executor-collection-dispatcher/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java +++ b/infintech-executors/executor-collection-dispatcher/src/test/java/com/xxl/job/executor/test/XxlJobExecutorExampleBootApplicationTests.java @@ -2,23 +2,21 @@ package com.xxl.job.executor.test; import org.junit.Test; import org.junit.runner.RunWith; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; -import com.infincash.cron.collection.CronJobHandler; import com.xxl.job.executor.Application; @RunWith(SpringRunner.class) @SpringBootTest(classes = Application.class ,webEnvironment= SpringBootTest.WebEnvironment.RANDOM_PORT) public class XxlJobExecutorExampleBootApplicationTests { - @Autowired - CronJobHandler jobHandler; +// @Autowired +// CronJobHandler jobHandler; @Test public void test() throws Exception { - jobHandler.execute(""); +// jobHandler.execute(""); } } \ No newline at end of file