mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
test: fix generic type
This commit is contained in:
parent
d1b7a335cb
commit
7e3d5b21bb
@ -203,7 +203,7 @@ public class ForEachProcessorTests extends ESTestCase {
|
||||
));
|
||||
processor.execute(ingestDocument);
|
||||
|
||||
List<String> result = ingestDocument.getFieldValue("values", List.class);
|
||||
List<Object> result = ingestDocument.getFieldValue("values", List.class);
|
||||
assertThat(result.get(0), equalTo("STRING"));
|
||||
assertThat(result.get(1), equalTo(1));
|
||||
assertThat(result.get(2), equalTo(null));
|
||||
|
Loading…
x
Reference in New Issue
Block a user