From d3bdff6bbf5ae9c018a989946d3576bb66178d56 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Thu, 17 Sep 2020 12:09:10 +0100 Subject: [PATCH] Adds quotes to timestamp values in runtime_fields/40_date YAML test (#62526) --- .../resources/rest-api-spec/test/runtime_fields/40_date.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/40_date.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/40_date.yml index 6b17629629d..f41828400f4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/40_date.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/40_date.yml @@ -118,9 +118,9 @@ setup: sort: timestamp fields: [tomorrow, tomorrow_from_source, the_past, all_week, formatted_tomorrow] - match: {hits.total.value: 6} - - match: {hits.hits.0.fields.tomorrow: [2018-01-19T17:41:34.000Z] } - - match: {hits.hits.0.fields.tomorrow_from_source: [2018-01-19T17:41:34.000Z] } - - match: {hits.hits.0.fields.the_past: [2018-01-18T17:41:33.000Z] } + - match: {hits.hits.0.fields.tomorrow: ["2018-01-19T17:41:34.000Z"] } + - match: {hits.hits.0.fields.tomorrow_from_source: ["2018-01-19T17:41:34.000Z"] } + - match: {hits.hits.0.fields.the_past: ["2018-01-18T17:41:33.000Z"] } - match: hits.hits.0.fields.all_week: - 2018-01-18T17:41:34.000Z