Upgrade Feign. Fixes gh-333.

This commit is contained in:
Olga Maciaszek-Sharma
2020-05-14 12:14:31 +02:00
parent fc9b47c3b3
commit 21986f5e92
2 changed files with 4 additions and 2 deletions

View File

@@ -90,7 +90,9 @@ public class FeignClientErrorDecoderTests {
Map<Method, InvocationHandlerFactory.MethodHandler> dispatch = (Map<Method, InvocationHandlerFactory.MethodHandler>) ReflectionTestUtils
.getField(invocationHandler, "dispatch");
Method key = new ArrayList<>(dispatch.keySet()).get(0);
return ReflectionTestUtils.getField(dispatch.get(key), "errorDecoder");
return ReflectionTestUtils.getField(
ReflectionTestUtils.getField(dispatch.get(key), "asyncResponseHandler"),
"errorDecoder");
}
@Configuration(proxyBeanMethods = false)