Skip to content

Commit

Permalink
Fix jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenaStoeva committed Dec 18, 2024
1 parent dc21c91 commit 208bc58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ describe('Data Streams tab', () => {
enabled: true,
data_retention: '7d',
},
ilmPolicyName: 'testILM',
indices: [
{
managedBy: 'Index Lifecycle Management',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ export const MixedIndicesCallout = ({
<p>
<FormattedMessage
id="xpack.idxMgmt.dataStreamsDetailsPanel.editDataRetentionModal.someManagedByILMBody"
defaultMessage="One or more indices are managed by an ILM policy{viewAllIndicesLink}. Updating data retention for this data stream won't affect these indices. Instead you will have to update the {ilmPolicyLink} policy."
defaultMessage="One or more indices are managed by an ILM policy ({viewAllIndicesLink}). Updating data retention for this data stream won't affect these indices. Instead you will have to update the {ilmPolicyLink} policy."
values={{
ilmPolicyLink: ilmPolicyLink && ilmPolicyName && (
<EuiLink
data-test-subj="viewIlmPolicyLink"
onClick={() => core.application.navigateToUrl(ilmPolicyLink)}
>
{` (${ilmPolicyName})`}
{ilmPolicyName}
</EuiLink>
),
viewAllIndicesLink: (
Expand Down

0 comments on commit 208bc58

Please sign in to comment.