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 11package test .org .springdoc .api .app72 ;
22
33import org .junit .Test ;
4- import org .springframework .boot .autoconfigure .SpringBootApplication ;
4+ import org .springframework .boot .SpringBootConfiguration ;
5+ import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
56import org .springframework .boot .test .context .runner .WebApplicationContextRunner ;
67
78import static org .assertj .core .api .Assertions .assertThat ;
@@ -47,7 +48,9 @@ public void cache_configurations_successfully_disabled() {
4748 }
4849
4950
50- @ SpringBootApplication
51+
52+ @ SpringBootConfiguration
53+ @ EnableAutoConfiguration
5154 static class TestApp {
5255
5356 }
Original file line number Diff line number Diff line change 22
33import org .junit .Test ;
44import org .springdoc .core .GroupedOpenApi ;
5+ import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
56import org .springframework .boot .autoconfigure .SpringBootApplication ;
67import org .springframework .boot .test .context .runner .WebApplicationContextRunner ;
78import org .springframework .context .annotation .Bean ;
@@ -49,6 +50,7 @@ public void cache_configurations_successfully_disabled() {
4950
5051
5152 @ SpringBootApplication
53+ @ EnableAutoConfiguration
5254 static class TestApp {
5355 @ Bean
5456 GroupedOpenApi testGroupedOpenApi () {
You can’t perform that action at this time.
0 commit comments