DATAES-740 - Adapt to spring-data-commons changes.

Original PR: #386
This commit is contained in:
Peter-Josef Meisch
2020-02-09 19:31:16 +01:00
committed by GitHub
parent 936de20421
commit 0c15eef858
5 changed files with 19 additions and 12 deletions

View File

@@ -108,7 +108,7 @@ public class MappingElasticsearchConverterUnitTests {
mappingElasticsearchConverter = new MappingElasticsearchConverter(mappingContext, new GenericConversionService());
mappingElasticsearchConverter.setConversions(
new ElasticsearchCustomConversions(Arrays.asList(new ShotGunToMapConverter(), new MapToShotGunConverter())));
ElasticsearchCustomConversions.of(Arrays.asList(new ShotGunToMapConverter(), new MapToShotGunConverter())));
mappingElasticsearchConverter.afterPropertiesSet();
sarahConnor = new Person();