浏览代码

Adds quotes to timestamp values in runtime_fields/40_date YAML test (#62468)

Fernando Briano 5 年之前
父节点
当前提交
0cfb3e9ce5
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/40_date.yml

+ 3 - 3
x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/40_date.yml

@@ -118,9 +118,9 @@ setup:
           sort: timestamp
           sort: timestamp
           fields: [tomorrow, tomorrow_from_source, the_past, all_week, formatted_tomorrow]
           fields: [tomorrow, tomorrow_from_source, the_past, all_week, formatted_tomorrow]
   - match: {hits.total.value: 6}
   - 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:
   - match:
       hits.hits.0.fields.all_week:
       hits.hits.0.fields.all_week:
         - 2018-01-18T17:41:34.000Z
         - 2018-01-18T17:41:34.000Z