mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-22 20:12:11 +00:00
DATAES-55 - polish test cases and remove unwanted files
This commit is contained in:
parent
3c0c942a70
commit
b6628385d9
@ -1171,10 +1171,7 @@ public class ElasticsearchTemplateTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private IndexQuery getIndexQuery(SampleEntity sampleEntity) {
|
private IndexQuery getIndexQuery(SampleEntity sampleEntity) {
|
||||||
IndexQuery indexQuery = new IndexQuery();
|
return new IndexQueryBuilder().withId(sampleEntity.getId()).withObject(sampleEntity).build();
|
||||||
indexQuery.setId(sampleEntity.getId());
|
|
||||||
indexQuery.setObject(sampleEntity);
|
|
||||||
return indexQuery;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<IndexQuery> getIndexQueries(List<SampleEntity> sampleEntities) {
|
private List<IndexQuery> getIndexQueries(List<SampleEntity> sampleEntities) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user