Advertisement
ronaldkwandy

Untitled

Nov 6th, 2019
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.50 KB | None | 0 0
  1. @SpringBootApplication
  2. @ComponentScan(excludeFilters = @Filter(type = FilterType.ANNOTATION, value = ExcludeFromTests.class))
  3. public class GajiIdApiApplicationTests extends SpringBootServletInitializer {
  4.  
  5.     @Override
  6.     protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
  7.         return application.sources(GajiIdApiApplicationTests.class);
  8.     }
  9.  
  10.     public static void main(String[] args) throws Exception {
  11.         SpringApplication.run(GajiIdApiApplicationTests.class, args);
  12.     }
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement