reta commented on code in PR #1346:
URL: https://github.com/apache/cxf/pull/1346#discussion_r1272914333
##########
systests/spring-boot/src/test/java/org/apache/cxf/systest/jaxrs/spring/boot/SpringJaxrsComponentScanningTest.java:
##########
@@ -51,8 +52,8 @@ public void testCxfComponentScan() {
// The component scanner only looks for CXF's @Provider annotations,
// not JAX-RS Features/@Provider.
assertThat(scanner.getFeatures())
- .hasSize(2)
- .hasOnlyElementsOfTypes(OpenApiFeature.class,
JAXRSBeanValidationFeature.class);
+ .hasSize(3)
+ .hasOnlyElementsOfTypes(ObservationFeature.class,
OpenApiFeature.class, OpenApiFeature.class, JAXRSBeanValidationFeature.class);
Review Comment:
Seems like `OpenApiFeature.class` is included twice:
```suggestion
.hasOnlyElementsOfTypes(ObservationFeature.class,
OpenApiFeature.class, JAXRSBeanValidationFeature.class);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]