diff --git a/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/delete_autoscaling_policy.yml b/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/delete_autoscaling_policy.yml index d8ed15a02d9..a75ce41a8b6 100644 --- a/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/delete_autoscaling_policy.yml +++ b/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/delete_autoscaling_policy.yml @@ -2,7 +2,7 @@ "Test delete autoscaling policy": - do: autoscaling.put_autoscaling_policy: - name: hot + name: my_autoscaling_policy body: policy: deciders: @@ -12,7 +12,7 @@ - do: autoscaling.delete_autoscaling_policy: - name: hot + name: my_autoscaling_policy # TODO: add validation that the policy is removed after we have a get policy API diff --git a/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/put_autoscaling_policy.yml b/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/put_autoscaling_policy.yml index 11143f6621b..544ce49ba11 100644 --- a/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/put_autoscaling_policy.yml +++ b/x-pack/plugin/autoscaling/qa/rest/src/test/resources/rest-api-spec/test/autoscaling/put_autoscaling_policy.yml @@ -2,7 +2,7 @@ "Test put autoscaling policy": - do: autoscaling.put_autoscaling_policy: - name: hot + name: my_autoscaling_policy body: policy: deciders: @@ -13,7 +13,7 @@ - do: catch: bad_request autoscaling.put_autoscaling_policy: - name: hot + name: my_autoscaling_policy body: policy: deciders: