Commit 6b9613d7 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'jh-update_alert_link' into 'master'

Update docs link in reconciliation alert

See merge request gitlab-org/gitlab!66415
parents fa313f8f 06cdfbd2
import { helpPagePath } from '~/helpers/help_page_helper'; import { helpPagePath } from '~/helpers/help_page_helper';
import { s__, __ } from '~/locale'; import { s__, __ } from '~/locale';
const qrtlyReconciliationHelpPageUrl = helpPagePath('subscriptions/self_managed/index', { const qrtlyReconciliationHelpPageUrl = helpPagePath('subscriptions/quarterly_reconciliation');
anchor: 'quarterly-subscription-reconciliation',
});
export const i18n = { export const i18n = {
title: s__('Admin|Quarterly reconciliation will occur on %{qrtlyDate}'), title: s__('Admin|Quarterly reconciliation will occur on %{qrtlyDate}'),
......
...@@ -39,7 +39,7 @@ describe('Qrtly Reconciliation Alert', () => { ...@@ -39,7 +39,7 @@ describe('Qrtly Reconciliation Alert', () => {
it('has the correct link to the help page', () => { it('has the correct link to the help page', () => {
expect(findAlert().attributes('primarybuttonlink')).toBe( expect(findAlert().attributes('primarybuttonlink')).toBe(
'/help/subscriptions/self_managed/index#quarterly-subscription-reconciliation', '/help/subscriptions/quarterly_reconciliation',
); );
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment