Skip to content

Commit

Permalink
chore(EMS-3847): rename 'alternative currency' nunjucks template
Browse files Browse the repository at this point in the history
  • Loading branch information
ttbarnes committed Sep 27, 2024
1 parent e46af91 commit c54059c
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/ui/server/constants/templates/shared-pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export const SHARED_PAGES = {
NEED_TO_START_AGAIN_EXIT: 'shared-pages/need-to-start-again.njk',
SECTION_START: 'shared-pages/section-start.njk',
SINGLE_RADIO: 'shared-pages/single-radio.njk',
ALTERNATIVE_CURRENCY: 'shared-pages/alternative-currency.njk',
ALTERNATIVE_CURRENCY: 'shared-pages/currency.njk',
};
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe('controllers/insurance/business/turnover-currency', () => {

describe('TEMPLATE', () => {
it('should have the correct template defined', () => {
expect(TEMPLATE).toEqual(TEMPLATES.SHARED_PAGES.ALTERNATIVE_CURRENCY);
expect(TEMPLATE).toEqual(TEMPLATES.SHARED_PAGES.CURRENCY);
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const {

export const FIELD_IDS = [CURRENCY_CODE, ALTERNATIVE_CURRENCY_CODE];

export const TEMPLATE = TEMPLATES.SHARED_PAGES.ALTERNATIVE_CURRENCY;
export const TEMPLATE = TEMPLATES.SHARED_PAGES.CURRENCY;

export const PAGE_CONTENT_STRINGS = PAGES.INSURANCE.EXPORTER_BUSINESS.TURNOVER_CURRENCY;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('controllers/insurance/export-contract/currency-of-agents-charge', () =

describe('TEMPLATE', () => {
it('should have the correct template defined', () => {
expect(TEMPLATE).toEqual(TEMPLATES.SHARED_PAGES.ALTERNATIVE_CURRENCY);
expect(TEMPLATE).toEqual(TEMPLATES.SHARED_PAGES.CURRENCY);
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const {

export const FIELD_IDS = [CURRENCY_CODE, ALTERNATIVE_CURRENCY_CODE];

export const TEMPLATE = TEMPLATES.SHARED_PAGES.ALTERNATIVE_CURRENCY;
export const TEMPLATE = TEMPLATES.SHARED_PAGES.CURRENCY;

export const PAGE_CONTENT_STRINGS = PAGES.INSURANCE.EXPORT_CONTRACT.AGENT_CHARGES_CURRENCY;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('controllers/insurance/your-buyer/currency-of-late-payments', () => {

describe('TEMPLATE', () => {
it('should have the correct template defined', () => {
expect(TEMPLATE).toEqual(TEMPLATES.SHARED_PAGES.ALTERNATIVE_CURRENCY);
expect(TEMPLATE).toEqual(TEMPLATES.SHARED_PAGES.CURRENCY);
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const {

export const FIELD_IDS = [CURRENCY_CODE, ALTERNATIVE_CURRENCY_CODE];

export const TEMPLATE = TEMPLATES.SHARED_PAGES.ALTERNATIVE_CURRENCY;
export const TEMPLATE = TEMPLATES.SHARED_PAGES.CURRENCY;

export const PAGE_CONTENT_STRINGS = PAGES.INSURANCE.YOUR_BUYER.CURRENCY_OF_LATE_PAYMENTS;

Expand Down
File renamed without changes.

0 comments on commit c54059c

Please sign in to comment.