Skip to content

Commit 12cffc6

Browse files
committed
added XmlAwareFormHttpMessageConverter, taking over the 3.0.2-introduced XML multipart support (avoiding a package cycle)
1 parent c58f46f commit 12cffc6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

org.springframework.web/src/test/java/org/springframework/http/converter/FormHttpMessageConverterTests.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,20 @@
4141
import org.springframework.http.MediaType;
4242
import org.springframework.http.MockHttpInputMessage;
4343
import org.springframework.http.MockHttpOutputMessage;
44+
import org.springframework.http.converter.xml.XmlAwareFormHttpMessageConverter;
4445
import org.springframework.util.LinkedMultiValueMap;
4546
import org.springframework.util.MultiValueMap;
4647

47-
/** @author Arjen Poutsma */
48+
/**
49+
* @author Arjen Poutsma
50+
*/
4851
public class FormHttpMessageConverterTests {
4952

5053
private FormHttpMessageConverter converter;
5154

5255
@Before
5356
public void setUp() {
54-
converter = new FormHttpMessageConverter();
57+
converter = new XmlAwareFormHttpMessageConverter();
5558
}
5659

5760
@Test

0 commit comments

Comments
 (0)