Testing: Remove plus sign from YAML test due to encoding issue

The plus sign is not treated correctly in encoding and can lead
to problems, if the search request is encoded as HTTP parameter
instead of the HTTP body.

Relates #9769
This commit is contained in:
Alexander Reelsen 2015-02-19 18:34:16 +01:00
parent 50a56b6c9d
commit 5de564a19f

View File

@ -11,5 +11,5 @@
- do:
indices.refresh: {}
- do: { search: { body: { script_fields : { my_field : { lang: expression, script: 'doc["age"].value + 19' } } } } }
- match: { hits.hits.0.fields.my_field: [ 42.0 ] }
- do: { search: { body: { script_fields : { my_field : { lang: expression, script: 'doc["age"].value' } } } } }
- match: { hits.hits.0.fields.my_field: [ 23.0 ] }