You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
364 B
Java
17 lines
364 B
Java
package cn.iocoder.dashboard.config;
|
|
|
|
import org.mockito.Mockito;
|
|
import org.quartz.Scheduler;
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
@Configuration
|
|
public class QuartzTestConfiguration {
|
|
|
|
@Bean
|
|
public Scheduler scheduler() {
|
|
return Mockito.mock(Scheduler.class);
|
|
}
|
|
|
|
}
|