From 2a46837296a95dbb026a9459cc00989a2497bdf2 Mon Sep 17 00:00:00 2001 From: Dimitrios Athanasiou Date: Thu, 24 Nov 2016 11:46:00 +0000 Subject: [PATCH] Fix get records yaml test Original commit: elastic/x-pack-elasticsearch@9553fd0b52512ec2a15ad820138148a849dda58b --- .../resources/rest-api-spec/test/jobs_get_result_records.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" }