[REST_API_SPEC] remove invalid use of catch: param

`catch: param` is designed to catch errors generated by client-side validation logic when users don't supply valid parameters to an API request. This test though is testing the server-side validation of pipeline aggregations, and so a "param" catch is invalid. Instead we will just test for a parse_exception error type using a regex.
This commit is contained in:
Spencer 2016-02-29 09:27:36 -07:00
parent a1bc82eef3
commit 3f80feb899
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
---
"Test invalid config":
- do:
catch: param
catch: /parse_exception/
ingest.put_pipeline:
id: "my_pipeline"
body: >