Support Servlet Part in Spring MVC Test
Issue: SPR-14253
This commit is contained in:
@@ -3986,7 +3986,7 @@ request but rather you have to set it up:
|
||||
[source,java,indent=0]
|
||||
[subs="verbatim,quotes"]
|
||||
----
|
||||
mockMvc.perform(fileUpload("/doc").file("a1", "ABC".getBytes("UTF-8")));
|
||||
mockMvc.perform(multipart("/doc").file("a1", "ABC".getBytes("UTF-8")));
|
||||
----
|
||||
|
||||
You can specify query parameters in URI template style:
|
||||
|
||||
Reference in New Issue
Block a user