From 74bbd8c71a01c305a0a492cb0876adb61b35dc63 Mon Sep 17 00:00:00 2001 From: Alex Szabo Date: Fri, 22 Sep 2023 13:05:18 +0200 Subject: [PATCH] fix: Correct renamed function after a race-condition merge --- .../group2/tests/alerting/get_action_error_log.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/alerting/get_action_error_log.ts b/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/alerting/get_action_error_log.ts index 754adcc6c9ae2..dc45a48016466 100644 --- a/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/alerting/get_action_error_log.ts +++ b/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/alerting/get_action_error_log.ts @@ -14,7 +14,7 @@ import { ObjectRemover, getTestRuleData, getEventLog, - getConsumerUnauthorizedErrorMessage, + getUnauthorizedErrorMessage, } from '../../../../common/lib'; import { FtrProviderContext } from '../../../../common/ftr_provider_context'; @@ -101,7 +101,7 @@ export default function createGetActionErrorLogTests({ getService }: FtrProvider expect(response.statusCode).to.eql(403); expect(response.body).to.eql({ error: 'Forbidden', - message: getConsumerUnauthorizedErrorMessage( + message: getUnauthorizedErrorMessage( 'get', 'test.cumulative-firing', 'alertsFixture'