Skip to content

Commit

Permalink
[RAM] Correct renamed function after a race-condition merge (elastic#…
Browse files Browse the repository at this point in the history
…167026)

## Summary
There was an accidental race-condition on a variable re-name and usage
between elastic#166032 &
elastic#166603.

This PR intends to correct that.

(cherry picked from commit e2a7157)
  • Loading branch information
delanni committed Sep 22, 2023
1 parent 5e728ad commit 8b6a4fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
ObjectRemover,
getTestRuleData,
getEventLog,
getConsumerUnauthorizedErrorMessage,
getUnauthorizedErrorMessage,
} from '../../../../common/lib';
import { FtrProviderContext } from '../../../../common/ftr_provider_context';

Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 8b6a4fe

Please sign in to comment.