From ae93fec2e4ad0dbe812800146e04754c028eb608 Mon Sep 17 00:00:00 2001 From: skarpenko Date: Sat, 31 Aug 2024 14:32:05 +0300 Subject: [PATCH] added spring boot 3.2 support (postfix) --- .../allfeatures/AllFeaturesTest.java | 16 ++++++++-------- feign-reactor-java11/pom.xml | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/feign-reactor-core/src/test/java/reactivefeign/allfeatures/AllFeaturesTest.java b/feign-reactor-core/src/test/java/reactivefeign/allfeatures/AllFeaturesTest.java index 01dd58e7..e9a18a11 100644 --- a/feign-reactor-core/src/test/java/reactivefeign/allfeatures/AllFeaturesTest.java +++ b/feign-reactor-core/src/test/java/reactivefeign/allfeatures/AllFeaturesTest.java @@ -115,7 +115,7 @@ public void shouldReturnAllPassedParameters() { @Test public void shouldReturnEmptyPassedParameters() { - Map paramMap = new HashMap() { + Map paramMap = new HashMap<>() { { put("paramKey", ""); } @@ -134,7 +134,7 @@ public void shouldReturnEmptyPassedParameters() { @Test public void shouldReturnAllPassedParametersNew() { - Map paramMap = new HashMap() { + Map paramMap = new HashMap<>() { { put("paramKey", "paramValue"); } @@ -209,7 +209,7 @@ public void shouldReturnEmptyOnNullPassedListParametersNew() { @Test public void shouldReturnAllPassedMapParametersNew() { - Map> paramMap = new HashMap>() { + Map> paramMap = new HashMap<>() { { put("paramKey", asList("paramValue1", "paramValue2")); } @@ -232,7 +232,7 @@ public void shouldReturnEmptyOnNullPassedMapParametersNew() { @Test public void shouldReturnAllPassedHeaders() { - Map headersMap = new HashMap() { + Map headersMap = new HashMap<>() { { put("headerKey1", "headerValue1"); put("headerKey2", "headerValue2"); @@ -257,7 +257,7 @@ public void shouldReturnAllPassedListHeaders() { @Test public void shouldReturnAllPassedMultiMapHeaders() { - Map> headersMap = new HashMap>() { + Map> headersMap = new HashMap<>() { { put("headerKey1", List.of("headerValue1, headerValue2")); } @@ -290,7 +290,7 @@ public void shouldReturnBody() { @Test public void shouldReturnBodyMap() { - Map bodyMap = new HashMap() { + Map bodyMap = new HashMap<>() { { put("key1", "value1"); put("key2", "value2"); @@ -311,7 +311,7 @@ public void shouldReturnBodyReactive() { @Test public void shouldReturnBodyMapReactive() { - Map bodyMap = new HashMap() { + Map bodyMap = new HashMap<>() { { put("key1", "value1"); put("key2", "value2"); @@ -494,7 +494,7 @@ public void shouldEncodePathParam() { @Test public void shouldEncodePathParamWithReservedChars() { - String PATH_PARAM = "workers?in=(\"123321\")"; + String PATH_PARAM = "workers?in=(\"123/321\")"; StepVerifier.create(client.encodePath(PATH_PARAM) .subscribeOn(testScheduler())) diff --git a/feign-reactor-java11/pom.xml b/feign-reactor-java11/pom.xml index 16af73ee..803115d6 100644 --- a/feign-reactor-java11/pom.xml +++ b/feign-reactor-java11/pom.xml @@ -85,6 +85,7 @@ org.eclipse.jetty.ee10 jetty-ee10-webapp + test