Skip to content

Commit 31acc18

Browse files
committed
Use lowercase sort order in geo_line YAML tests (elastic#135690)
This is how it's specified in the Elasticsearch specification, and avoids a false positive during validation.
1 parent 2cb3259 commit 31acc18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/spatial/120_position_geo_line.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ setup:
8282
field: location
8383
sort:
8484
field: "@timestamp"
85-
sort_order: ASC
85+
sort_order: asc
8686
- match: { hits.total: 10 }
8787
- length: { aggregations.by_time_series.buckets: 3 }
8888
- match:
@@ -135,7 +135,7 @@ setup:
135135
field: location
136136
sort:
137137
field: "@timestamp"
138-
sort_order: DESC
138+
sort_order: desc
139139
- match: { hits.total: 10 }
140140
- length: { aggregations.by_time_series.buckets: 3 }
141141
- match:

0 commit comments

Comments
 (0)