Skip to content

Commit 94b5ad0

Browse files
committed
Fixup tests following upstream HATEOAS changes
See gh-17755
1 parent bee373d commit 94b5ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/mockmvc/WebMvcTestHateoasIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void plainResponse() throws Exception {
4848
@Test
4949
void hateoasResponse() throws Exception {
5050
this.mockMvc.perform(get("/hateoas/resource"))
51-
.andExpect(header().string(HttpHeaders.CONTENT_TYPE, "application/hal+json;charset=UTF-8"));
51+
.andExpect(header().string(HttpHeaders.CONTENT_TYPE, "application/hal+json"));
5252
}
5353

5454
}

0 commit comments

Comments
 (0)