Parcourir la source

Use lowercase sort order in geo_line YAML tests (#135690) (#135840)

This is how it's specified in the Elasticsearch specification, and avoids a
false positive during validation.
Quentin Pradet il y a 3 jours
Parent
commit
5377b9bbcb

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

@@ -82,7 +82,7 @@ setup:
                       field: location
                     sort:
                       field: "@timestamp"
-                    sort_order: ASC
+                    sort_order: asc
   - match: { hits.total: 10 }
   - length: { aggregations.by_time_series.buckets: 3 }
   - match:
@@ -135,7 +135,7 @@ setup:
                       field: location
                     sort:
                       field: "@timestamp"
-                    sort_order: DESC
+                    sort_order: desc
   - match: { hits.total: 10 }
   - length: { aggregations.by_time_series.buckets: 3 }
   - match: