Skip to content

Commit 57cf5d5

Browse files
authored
Merge pull request eugenp#11679 from hkhan/JAVA-9386-fix-test-directory
[JAVA-9386] Fix test directory
2 parents e5b03f0 + a705663 commit 57cf5d5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

spring-web-modules/spring-rest-http-2/src/main/java/com/baeldung/swaggerui/disable/config/SwaggerConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
import springfox.documentation.spring.web.plugins.Docket;
1313
import springfox.documentation.swagger2.annotations.EnableSwagger2;
1414

15-
@Profile("!prod")
15+
@Profile("!prod && swagger")
16+
//@Profile("!prod")
1617
// @Profile("swagger")
17-
// @Profile("!prod && swagger")
1818
// @ConditionalOnExpression(value = "${useSwagger:false}")
1919
@Configuration
2020
@EnableSwagger2

spring-web-modules/spring-rest-http-2/src/test/com/baeldung/longpolling/integration/BakeryControllerIntegrationTest.java renamed to spring-web-modules/spring-rest-http-2/src/test/java/com/baeldung/longpolling/BakeryControllerIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.longpolling.integration;
1+
package com.baeldung.longpolling;
22

33
import org.junit.Test;
44
import org.junit.runner.RunWith;

spring-web-modules/spring-rest-http-2/src/test/com/baeldung/requesttimeout/RequestTimeoutUnitTest.java renamed to spring-web-modules/spring-rest-http-2/src/test/java/com/baeldung/requesttimeout/RequestTimeoutIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
@SpringBootTest
1111
@RunWith(SpringRunner.class)
12-
public class RequestTimeoutTests {
12+
public class RequestTimeoutIntegrationTest {
1313

1414
private static final WebClient WEB_CLIENT = WebClient.builder().baseUrl("http://localhost:8080").build();
1515

0 commit comments

Comments
 (0)