diff --git a/elasticsearch/src/test/resources/rest-api-spec/test/jobs_get_result_records.yaml b/elasticsearch/src/test/resources/rest-api-spec/test/jobs_get_result_records.yaml index 33c987e1c04..8e98f149e26 100644 --- a/elasticsearch/src/test/resources/rest-api-spec/test/jobs_get_result_records.yaml +++ b/elasticsearch/src/test/resources/rest-api-spec/test/jobs_get_result_records.yaml @@ -4,7 +4,7 @@ setup: index: prelertresults-farequote body: mappings: - results: + record: properties: "jobId": type: keyword @@ -30,7 +30,7 @@ setup: - do: index: index: prelertresults-farequote - type: results + type: record id: 2 body: { "jobId": "farequote", "timestamp": "2016-06-01T00:00:00Z", "result_type": "record" }