Suppress deprecation warnings in tests
This commit is contained in:
@@ -42,6 +42,7 @@ public class HttpMethodArgumentResolverTests {
|
||||
|
||||
|
||||
@BeforeEach
|
||||
@SuppressWarnings("deprecation")
|
||||
void setUp() throws Exception {
|
||||
HttpServiceProxyFactory proxyFactory = HttpServiceProxyFactory.builder(this.client).build();
|
||||
proxyFactory.afterPropertiesSet();
|
||||
|
||||
@@ -63,6 +63,7 @@ public class HttpServiceMethodTests {
|
||||
|
||||
|
||||
@BeforeEach
|
||||
@SuppressWarnings("deprecation")
|
||||
void setUp() throws Exception {
|
||||
this.proxyFactory = HttpServiceProxyFactory.builder(this.client).build();
|
||||
this.proxyFactory.afterPropertiesSet();
|
||||
|
||||
@@ -60,6 +60,7 @@ class NamedValueArgumentResolverTests {
|
||||
|
||||
|
||||
@BeforeEach
|
||||
@SuppressWarnings("deprecation")
|
||||
void setUp() throws Exception {
|
||||
HttpServiceProxyFactory proxyFactory = HttpServiceProxyFactory.builder(this.client)
|
||||
.customArgumentResolver(this.argumentResolver)
|
||||
|
||||
Reference in New Issue
Block a user