File tree 2 files changed +13
-2
lines changed
springdoc-openapi-security
springdoc-openapi-webmvc-core/src/test/java/test/org/springdoc/api/app72
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
<artifactId >springdoc-openapi-security</artifactId >
11
11
12
+ <properties >
13
+ <jaxb-impl .version>2.1</jaxb-impl .version>
14
+ </properties >
15
+
12
16
<dependencies >
13
17
<!-- springdoc-common -->
14
18
<dependency >
41
45
<artifactId >hibernate-validator</artifactId >
42
46
<scope >test</scope >
43
47
</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 >
44
54
</dependencies >
45
55
46
56
</project >
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 .EnableAutoConfiguration ;
4
5
import org .springframework .boot .autoconfigure .SpringBootApplication ;
5
6
import org .springframework .boot .test .context .runner .WebApplicationContextRunner ;
6
7
@@ -17,7 +18,7 @@ public void cache_configuration_loaded_when_not_disabled_explicitly() {
17
18
.run (context -> assertThat (context )
18
19
.hasNotFailed ()
19
20
.hasBean ("openApiResource" )
20
- .doesNotHaveBean ("beanFactoryPostProcessor1" )
21
+ .hasBean ("beanFactoryPostProcessor1" )
21
22
.doesNotHaveBean ("beanFactoryPostProcessor2" )
22
23
);
23
24
}
@@ -29,7 +30,7 @@ public void cache_configuration_loaded_when_disabled_explicitly() {
29
30
.run (context -> assertThat (context )
30
31
.hasNotFailed ()
31
32
.hasBean ("openApiResource" )
32
- .doesNotHaveBean ("beanFactoryPostProcessor1" )
33
+ .hasBean ("beanFactoryPostProcessor1" )
33
34
.doesNotHaveBean ("beanFactoryPostProcessor2" )
34
35
);
35
36
}
You can’t perform that action at this time.
0 commit comments