[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@fa77c071b2087e2dbf3afc7e055b6f83a4c448d0
@@ -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:
