Commit 06cdfbd2 authored by Josianne Hyson's avatar Josianne Hyson

Update docs link in reconciliation alert

The documentation that this alert used to refer to has been moved to
another location. Update the alert to point directly to the new
documentation so that the user does not have to follow the manual
redirect.

Issue: https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/3321
parent a35e8a20
import { helpPagePath } from '~/helpers/help_page_helper';
import { s__, __ } from '~/locale';
const qrtlyReconciliationHelpPageUrl = helpPagePath('subscriptions/self_managed/index', {
anchor: 'quarterly-subscription-reconciliation',
});
const qrtlyReconciliationHelpPageUrl = helpPagePath('subscriptions/quarterly_reconciliation');
export const i18n = {
title: s__('Admin|Quarterly reconciliation will occur on %{qrtlyDate}'),
......
......@@ -39,7 +39,7 @@ describe('Qrtly Reconciliation Alert', () => {
it('has the correct link to the help page', () => {
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