Skip to content

Commit 745c6e3

Browse files
committed
Merge branch '4.2.x' into 4.3.x
2 parents cc19a1e + 6b7f06e commit 745c6e3

File tree

1 file changed

+5
-4
lines changed
  • spring-cloud-gateway-server-mvc/src/test/java/org/springframework/cloud/gateway/server/mvc/filter

1 file changed

+5
-4
lines changed

spring-cloud-gateway-server-mvc/src/test/java/org/springframework/cloud/gateway/server/mvc/filter/FormFilterTests.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ class FormFilterTests {
5252
void hideFormParameterFromParameterMap() throws ServletException, IOException {
5353
FormFilter filter = new FormFilter();
5454
MockHttpServletRequest request = MockMvcRequestBuilders
55-
.post(URI.create("http://localhost/test?queryArg1=foo&queryArg2=%E4%BD%A0%E5%A5%BD"))
56-
.contentType("application/x-www-form-urlencoded")
57-
.content("formArg1=bar&formArg2=%7B%7D")
58-
.buildRequest(null);
55+
.post(URI.create("http://localhost/test?queryArg1=foo&queryArg2=%E4%BD%A0%E5%A5%BD"))
56+
.contentType("application/x-www-form-urlencoded")
57+
.content("formArg1=bar&formArg2=%7B%7D")
58+
.buildRequest(null);
5959
HttpServletResponse response = Mockito.mock(HttpServletResponse.class);
6060
FilterChain chain = Mockito.mock(FilterChain.class);
6161
filter.doFilter(request, response, chain);
@@ -109,4 +109,5 @@ static List<String> toList(Enumeration<String> values) {
109109
}
110110
return list;
111111
}
112+
112113
}

0 commit comments

Comments
 (0)