mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polish EncoderHttpMessageWriter Content-Type handling
This commit is contained in:
-6
@@ -66,12 +66,6 @@ public class ResourceRegionHttpMessageWriterTests {
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void defaultContentType() throws Exception {
|
||||
assertEquals(MimeTypeUtils.APPLICATION_OCTET_STREAM,
|
||||
this.writer.getDefaultContentType(ResolvableType.forClass(ResourceRegion.class)));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void writableMediaTypes() throws Exception {
|
||||
assertThat(this.writer.getWritableMediaTypes(),
|
||||
|
||||
Reference in New Issue
Block a user