Skip to content

Commit 41993ce

Browse files
committed
test: new mediatype for spring-boot 2.2.1
1 parent 639f758 commit 41993ce

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/test/java/org/apereo/openlrw/tenant/endpoint/TenantControllerTest.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/**
2-
*
3-
*/
41
package org.apereo.openlrw.tenant.endpoint;
52

63
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -29,12 +26,12 @@
2926

3027
/**
3128
* @author ggilbert
29+
* @author xchopin <xavier.chopin@univ-lorraine.fr>
3230
*
3331
*/
3432
public class TenantControllerTest {
3533

36-
private MediaType contentType = new MediaType(MediaType.APPLICATION_JSON.getType(), MediaType.APPLICATION_JSON.getSubtype(),
37-
Charset.forName("utf8"));
34+
private MediaType contentType = new MediaType(MediaType.APPLICATION_JSON.getType(), MediaType.APPLICATION_JSON.getSubtype());
3835

3936
private MockMvc mockMvc;
4037

0 commit comments

Comments
 (0)