File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
springdoc-openapi-security
springdoc-openapi-webmvc-core/src/test/java/test/org/springdoc/api/app72 Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 99
1010 <artifactId >springdoc-openapi-security</artifactId >
1111
12+ <properties >
13+ <jaxb-impl .version>2.1</jaxb-impl .version>
14+ </properties >
15+
1216 <dependencies >
1317 <!-- springdoc-common -->
1418 <dependency >
4145 <artifactId >hibernate-validator</artifactId >
4246 <scope >test</scope >
4347 </dependency >
48+ <dependency >
49+ <groupId >javax.xml</groupId >
50+ <artifactId >jaxb-impl</artifactId >
51+ <version >${jaxb-impl.version} </version >
52+ <scope >test</scope >
53+ </dependency >
4454 </dependencies >
4555
4656</project >
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 .EnableAutoConfiguration ;
45import org .springframework .boot .autoconfigure .SpringBootApplication ;
56import org .springframework .boot .test .context .runner .WebApplicationContextRunner ;
67
@@ -17,7 +18,7 @@ public void cache_configuration_loaded_when_not_disabled_explicitly() {
1718 .run (context -> assertThat (context )
1819 .hasNotFailed ()
1920 .hasBean ("openApiResource" )
20- .doesNotHaveBean ("beanFactoryPostProcessor1" )
21+ .hasBean ("beanFactoryPostProcessor1" )
2122 .doesNotHaveBean ("beanFactoryPostProcessor2" )
2223 );
2324 }
@@ -29,7 +30,7 @@ public void cache_configuration_loaded_when_disabled_explicitly() {
2930 .run (context -> assertThat (context )
3031 .hasNotFailed ()
3132 .hasBean ("openApiResource" )
32- .doesNotHaveBean ("beanFactoryPostProcessor1" )
33+ .hasBean ("beanFactoryPostProcessor1" )
3334 .doesNotHaveBean ("beanFactoryPostProcessor2" )
3435 );
3536 }
You can’t perform that action at this time.
0 commit comments