[TEST] Remove broken test from jobs_get_result_categories.yaml

The YAML framework randomly sends the body wrapped in a `source`
field if the API supports GET. Our API doesn't handle `source`.
Taking the test out.

relates elastic/x-pack-elasticsearch#1200

Original commit: elastic/x-pack-elasticsearch@fa77c071b2
This commit is contained in:
Dimitrios Athanasiou 2017-04-25 17:07:30 +01:00
parent ee650b3189
commit 9828161cff
1 changed files with 0 additions and 26 deletions

View File

@ -69,32 +69,6 @@ setup:
- match: { categories.0.job_id: farequote }
- match: { categories.0.category_id: 2 }
---
"Test post get categories with pagination":
- do:
xpack.ml.get_categories:
job_id: "farequote"
body: >
{
"page": { "size": 1}
}
- length: { categories: 1 }
- match: { categories.0.job_id: farequote }
- match: { categories.0.category_id: 1 }
- do:
xpack.ml.get_categories:
job_id: "farequote"
body: >
{
"page": { "from":1, "size": 1}
}
- length: { categories: 1 }
- match: { categories.0.job_id: farequote }
- match: { categories.0.category_id: 2 }
---
"Test get category by id":
- do: