File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
springdoc-openapi-webmvc-core/src/test/java/test/org/springdoc/api/app72 Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
package test .org .springdoc .api .app72 ;
2
2
3
3
import org .junit .Test ;
4
- import org .springframework .boot .autoconfigure .SpringBootApplication ;
4
+ import org .springframework .boot .SpringBootConfiguration ;
5
+ import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
5
6
import org .springframework .boot .test .context .runner .WebApplicationContextRunner ;
6
7
7
8
import static org .assertj .core .api .Assertions .assertThat ;
@@ -47,7 +48,9 @@ public void cache_configurations_successfully_disabled() {
47
48
}
48
49
49
50
50
- @ SpringBootApplication
51
+
52
+ @ SpringBootConfiguration
53
+ @ EnableAutoConfiguration
51
54
static class TestApp {
52
55
53
56
}
Original file line number Diff line number Diff line change 2
2
3
3
import org .junit .Test ;
4
4
import org .springdoc .core .GroupedOpenApi ;
5
+ import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
5
6
import org .springframework .boot .autoconfigure .SpringBootApplication ;
6
7
import org .springframework .boot .test .context .runner .WebApplicationContextRunner ;
7
8
import org .springframework .context .annotation .Bean ;
@@ -49,6 +50,7 @@ public void cache_configurations_successfully_disabled() {
49
50
50
51
51
52
@ SpringBootApplication
53
+ @ EnableAutoConfiguration
52
54
static class TestApp {
53
55
@ Bean
54
56
GroupedOpenApi testGroupedOpenApi () {
You can’t perform that action at this time.
0 commit comments