Skip to content

Commit d0781e9

Browse files
committed
Fix test
1 parent fe4aede commit d0781e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/FeignCompressionTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ void shouldNotAddInterceptorsIfFeignOkHttpClientPresent() {
7777
@Test
7878
void shouldAddResponseCompressionInterceptorWithoutClientBean() {
7979
new ApplicationContextRunner()
80-
.withPropertyValues("spring.cloud.openfeign.compression.response.enabled=true")
80+
.withPropertyValues("spring.cloud.openfeign.compression.response.enabled=true",
81+
"spring.cloud.openfeign.okhttp.enabled=false")
8182
.withConfiguration(AutoConfigurations.of(FeignAutoConfiguration.class,
8283
FeignAcceptGzipEncodingAutoConfiguration.class))
8384
.run(context -> {

0 commit comments

Comments
 (0)