From 429c3115963921ac4a0a1d7ae7b724541cd8b759 Mon Sep 17 00:00:00 2001 From: Fernando Date: Wed, 9 Dec 2020 16:59:33 +0000 Subject: [PATCH] Wraps timestamp values in quotes in search.aggregation histogram YAML test --- .../test/search.aggregation/10_histogram.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/10_histogram.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/10_histogram.yml index 179a3cd72862..03d6c86feb00 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/10_histogram.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/10_histogram.yml @@ -624,11 +624,11 @@ setup: max: "2016-01-04" - match: { hits.total.value: 2 } - length: { aggregations.foo.histo.buckets: 4 } - - match: { aggregations.foo.histo.buckets.0.key_as_string: 2016-01-01T01:00:00.000Z } + - match: { aggregations.foo.histo.buckets.0.key_as_string: "2016-01-01T01:00:00.000Z" } - match: { aggregations.foo.histo.buckets.0.doc_count: 1 } - - match: { aggregations.foo.histo.buckets.1.key_as_string: 2016-01-02T01:00:00.000Z } + - match: { aggregations.foo.histo.buckets.1.key_as_string: "2016-01-02T01:00:00.000Z" } - match: { aggregations.foo.histo.buckets.1.doc_count: 1 } - - match: { aggregations.foo.histo.buckets.2.key_as_string: 2016-01-03T01:00:00.000Z } + - match: { aggregations.foo.histo.buckets.2.key_as_string: "2016-01-03T01:00:00.000Z" } - match: { aggregations.foo.histo.buckets.2.doc_count: 0 } - - match: { aggregations.foo.histo.buckets.3.key_as_string: 2016-01-04T01:00:00.000Z } + - match: { aggregations.foo.histo.buckets.3.key_as_string: "2016-01-04T01:00:00.000Z" } - match: { aggregations.foo.histo.buckets.3.doc_count: 0 }