Start building against Spring HATEOAS 1.0 snapshots

See gh-17755
This commit is contained in:
Stephane Nicoll
2019-08-01 15:19:41 +02:00
parent da0ab06d1a
commit bee373d6cf
2 changed files with 2 additions and 3 deletions

View File

@@ -121,8 +121,7 @@ class HypermediaAutoConfigurationTests {
RequestMappingHandlerAdapter handlerAdapter = this.context.getBean(RequestMappingHandlerAdapter.class);
for (HttpMessageConverter<?> converter : handlerAdapter.getMessageConverters()) {
if (converter instanceof TypeConstrainedMappingJackson2HttpMessageConverter) {
assertThat(converter.getSupportedMediaTypes()).containsExactly(MediaTypes.HAL_JSON,
MediaTypes.HAL_JSON_UTF8);
assertThat(converter.getSupportedMediaTypes()).containsExactly(MediaTypes.HAL_JSON);
}
}
}