diff --git a/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/FeignAutoConfigurationTests.java b/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/FeignAutoConfigurationTests.java index a9498c51..bcf67e35 100644 --- a/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/FeignAutoConfigurationTests.java +++ b/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/FeignAutoConfigurationTests.java @@ -27,7 +27,7 @@ import org.springframework.boot.test.context.assertj.AssertableApplicationContex import org.springframework.boot.test.context.runner.ApplicationContextRunner; import org.springframework.cloud.client.circuitbreaker.CircuitBreakerFactory; import org.springframework.cloud.client.loadbalancer.LoadBalancerInterceptor; -import org.springframework.cloud.openfeign.FeignAutoConfiguration.CircuitBreakerPresentFeignTargeterConfiguration.DefaultCircuitBreakerNameResolver; +import org.springframework.cloud.openfeign.FeignAutoConfiguration.CircuitBreakerPresentFeignTargeterConfiguration.AlphanumericCircuitBreakerNameResolver; import org.springframework.cloud.openfeign.security.MockOAuth2ClientContext; import org.springframework.cloud.openfeign.security.OAuth2FeignRequestInterceptor; import org.springframework.cloud.openfeign.security.OAuth2FeignRequestInterceptorBuilder; @@ -66,7 +66,7 @@ class FeignAutoConfigurationTests { assertOnlyOneTargeterPresent(ctx, FeignCircuitBreakerTargeter.class); assertThatFeignCircuitBreakerTargeterHasGroupEnabledPropertyWithValue(ctx, false); assertThatFeignCircuitBreakerTargeterHasSameCircuitBreakerNameResolver(ctx, - DefaultCircuitBreakerNameResolver.class); + AlphanumericCircuitBreakerNameResolver.class); }); } diff --git a/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/circuitbreaker/CircuitBreakerAutoConfigurationTests.java b/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/circuitbreaker/CircuitBreakerAutoConfigurationTests.java index 70b9c122..1cfe544f 100644 --- a/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/circuitbreaker/CircuitBreakerAutoConfigurationTests.java +++ b/spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/circuitbreaker/CircuitBreakerAutoConfigurationTests.java @@ -37,7 +37,7 @@ public class CircuitBreakerAutoConfigurationTests { webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, value = { "spring.application.name=springcircuittest", "spring.jmx.enabled=false", "spring.cloud.openfeign.circuitbreaker.enabled=true", - "spring.cloud.openfeign.circuitbreaker.alphanumeric-ids.enabled=false"}) + "spring.cloud.openfeign.circuitbreaker.alphanumeric-ids.enabled=false" }) @Nested class DefaultNamingStrategy { @@ -58,7 +58,7 @@ public class CircuitBreakerAutoConfigurationTests { @SpringBootTest(classes = CircuitBreakerTests.Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, value = { "spring.application.name=springcircuittest", "spring.jmx.enabled=false", - "spring.cloud.openfeign.circuitbreaker.enabled=true",}) + "spring.cloud.openfeign.circuitbreaker.enabled=true" }) @Nested class AlphanumericNamingStrategy {