mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Polish
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ public class GraphQlObservationAutoConfiguration {
|
||||
@ConditionalOnBean(Propagator.class)
|
||||
@ConditionalOnMissingBean
|
||||
@Order(Ordered.HIGHEST_PRECEDENCE + 1)
|
||||
public PropagationWebGraphQlInterceptor propagationWebGraphQlInterceptor(Propagator propagator) {
|
||||
PropagationWebGraphQlInterceptor propagationWebGraphQlInterceptor(Propagator propagator) {
|
||||
return new PropagationWebGraphQlInterceptor(propagator);
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -134,6 +134,7 @@ class GraphQlObservationAutoConfigurationTests {
|
||||
WebGraphQlHandler webGraphQlHandler() {
|
||||
return mock(WebGraphQlHandler.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@@ -143,6 +144,7 @@ class GraphQlObservationAutoConfigurationTests {
|
||||
Propagator propagator() {
|
||||
return mock(Propagator.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user