From 9e284d0c4cdc4e2e727057700e876cf7d6bc9191 Mon Sep 17 00:00:00 2001 From: Justin Kambic Date: Mon, 19 Oct 2020 19:23:42 -0400 Subject: [PATCH] Modify functional test to use new ES client. --- .../common/fixtures/plugins/alerts/server/alert_types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/alerting_api_integration/common/fixtures/plugins/alerts/server/alert_types.ts b/x-pack/test/alerting_api_integration/common/fixtures/plugins/alerts/server/alert_types.ts index 23adf5f8cb9a26..d43c3363f86b1a 100644 --- a/x-pack/test/alerting_api_integration/common/fixtures/plugins/alerts/server/alert_types.ts +++ b/x-pack/test/alerting_api_integration/common/fixtures/plugins/alerts/server/alert_types.ts @@ -76,7 +76,7 @@ function getAlwaysFiringAlertType() { instanceContextValue: true, }); } - await services.callCluster('index', { + await services.scopedClusterClient.index({ index: params.index, refresh: 'wait_for', body: {