From 86489b6d7747aee3ff72b5bbdeb81a07a1ab489e Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Thu, 23 Aug 2018 14:35:17 -0400 Subject: [PATCH] renames constant --- .../cloud/gateway/test/FormIntegrationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/test/FormIntegrationTests.java b/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/test/FormIntegrationTests.java index 4a01752a6..dac98cf12 100644 --- a/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/test/FormIntegrationTests.java +++ b/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/test/FormIntegrationTests.java @@ -50,7 +50,7 @@ import reactor.test.StepVerifier; @SuppressWarnings("unchecked") public class FormIntegrationTests extends BaseWebClientTests { - public static final MediaType CONTENT_TYPE = new MediaType(MediaType.APPLICATION_FORM_URLENCODED, Charset.forName("UTF-8")); + public static final MediaType FORM_URL_ENCODED_CONTENT_TYPE = new MediaType(MediaType.APPLICATION_FORM_URLENCODED, Charset.forName("UTF-8")); @Test public void formUrlencodedWorks() { @@ -60,7 +60,7 @@ public class FormIntegrationTests extends BaseWebClientTests { testClient.post() .uri("/post") - .contentType(CONTENT_TYPE) + .contentType(FORM_URL_ENCODED_CONTENT_TYPE) .body(BodyInserters.fromFormData(formData)) .exchange() .expectStatus().isOk()