mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polish
This commit is contained in:
+1
-1
@@ -177,7 +177,7 @@ class RequestMappingInfoHandlerMappingTests {
|
||||
}
|
||||
|
||||
@PathPatternsParameterizedTest // gh-28062
|
||||
void getHandlerMethodTypeNotSupportedWithParseError(TestRequestMappingInfoHandlerMapping mapping) {
|
||||
void getHandlerMediaTypeNotSupportedWithParseError(TestRequestMappingInfoHandlerMapping mapping) {
|
||||
MockHttpServletRequest request = new MockHttpServletRequest("PUT", "/person/1");
|
||||
request.setContentType("This string");
|
||||
assertThatExceptionOfType(HttpMediaTypeNotSupportedException.class)
|
||||
|
||||
Reference in New Issue
Block a user