Skip to content

Commit 56a0ba5

Browse files
author
Hendrik Muhs
committed
adapt rest tests
1 parent 904854f commit 56a0ba5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

x-pack/plugin/src/test/resources/rest-api-spec/test/transform/preview_transforms.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ setup:
8484
}
8585
}
8686
- match: { preview.0.airline: foo }
87-
- match: { preview.0.by-hour: 1487376000000 }
87+
- match: { preview.0.by-hour: 2017-02-18T00:00:00.000Z }
8888
- match: { preview.0.avg_response: 1.0 }
8989
- match: { preview.0.time.max: "2017-02-18T00:30:00.000Z" }
9090
- match: { preview.0.time.min: "2017-02-18T00:00:00.000Z" }
9191
- match: { preview.1.airline: bar }
92-
- match: { preview.1.by-hour: 1487379600000 }
92+
- match: { preview.1.by-hour: 2017-02-18T01:00:00.000Z }
9393
- match: { preview.1.avg_response: 42.0 }
9494
- match: { preview.1.time.max: "2017-02-18T01:00:00.000Z" }
9595
- match: { preview.1.time.min: "2017-02-18T01:00:00.000Z" }
9696
- match: { preview.2.airline: foo }
97-
- match: { preview.2.by-hour: 1487379600000 }
97+
- match: { preview.2.by-hour: 2017-02-18T01:00:00.000Z }
9898
- match: { preview.2.avg_response: 42.0 }
9999
- match: { preview.2.time.max: "2017-02-18T01:01:00.000Z" }
100100
- match: { preview.2.time.min: "2017-02-18T01:01:00.000Z" }
@@ -135,15 +135,15 @@ setup:
135135
}
136136
}
137137
- match: { preview.0.airline: foo }
138-
- match: { preview.0.by-hour: 1487376000000 }
138+
- match: { preview.0.by-hour: 2017-02-18T00:00:00.000Z }
139139
- match: { preview.0.avg_response: 1.0 }
140140
- match: { preview.0.my_field: 42 }
141141
- match: { preview.1.airline: bar }
142-
- match: { preview.1.by-hour: 1487379600000 }
142+
- match: { preview.1.by-hour: 2017-02-18T01:00:00.000Z }
143143
- match: { preview.1.avg_response: 42.0 }
144144
- match: { preview.1.my_field: 42 }
145145
- match: { preview.2.airline: foo }
146-
- match: { preview.2.by-hour: 1487379600000 }
146+
- match: { preview.2.by-hour: 2017-02-18T01:00:00.000Z }
147147
- match: { preview.2.avg_response: 42.0 }
148148
- match: { preview.2.my_field: 42 }
149149
- match: { generated_dest_index.mappings.properties.airline.type: "keyword" }

0 commit comments

Comments
 (0)