From e2d4081995e1372683be56fea3f629f3a5d0944e Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Sun, 29 Mar 2020 14:35:48 -0400 Subject: [PATCH] Add assertion for get autoscaling decision API test This commit adds a match assertion to the get autoscaling decision REST test. --- .../rest-api-spec/test/autoscaling/get_autoscaling_decision.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/get_autoscaling_decision.yml b/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/get_autoscaling_decision.yml index 4347c8ff93948..27fcac07841b4 100644 --- a/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/get_autoscaling_decision.yml +++ b/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/get_autoscaling_decision.yml @@ -2,3 +2,5 @@ "Test get autoscaling decision": - do: autoscaling.get_autoscaling_decision: {} + + - match: { "decisions": [] }