[JAVA-9386] Fix test directory

This commit is contained in:
Haroon Khan 2022-01-12 08:40:50 +00:00
parent 21b4b2433e
commit 0bd238b98b
3 changed files with 4 additions and 4 deletions

View File

@ -12,9 +12,9 @@ import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket; import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2; import springfox.documentation.swagger2.annotations.EnableSwagger2;
@Profile("!prod") @Profile("!prod && swagger")
//@Profile("!prod")
// @Profile("swagger") // @Profile("swagger")
// @Profile("!prod && swagger")
// @ConditionalOnExpression(value = "${useSwagger:false}") // @ConditionalOnExpression(value = "${useSwagger:false}")
@Configuration @Configuration
@EnableSwagger2 @EnableSwagger2

View File

@ -1,4 +1,4 @@
package com.baeldung.longpolling.integration; package com.baeldung.longpolling;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;

View File

@ -9,7 +9,7 @@ import org.springframework.web.reactive.function.client.WebClientRequestExceptio
@SpringBootTest @SpringBootTest
@RunWith(SpringRunner.class) @RunWith(SpringRunner.class)
public class RequestTimeoutTests { public class RequestTimeoutIntegrationTest {
private static final WebClient WEB_CLIENT = WebClient.builder().baseUrl("http://localhost:8080").build(); private static final WebClient WEB_CLIENT = WebClient.builder().baseUrl("http://localhost:8080").build();