diff --git a/src/components/modal/email-confirmation/modal.jsx b/src/components/modal/email-confirmation/modal.jsx index 8731d85f7..0006b75d5 100644 --- a/src/components/modal/email-confirmation/modal.jsx +++ b/src/components/modal/email-confirmation/modal.jsx @@ -74,7 +74,7 @@ const EmailConfirmationModal = ({ ( { // eslint-disable-line react/jsx-no-bind e.preventDefault(); diff --git a/src/l10n.json b/src/l10n.json index 8e526af28..7d8b6b96b 100644 --- a/src/l10n.json +++ b/src/l10n.json @@ -260,7 +260,7 @@ "emailConfirmationModal.accountSettings": "Account Settings", "emailConfirmationModal.wantMoreInfo": "Want more information? {FAQLink}", "emailConfirmationModal.checkOutFAQ": "Check out the FAQ", - "emailConfirmationModal.havingTrouble": "Having Trouble? {TipsLink}", + "emailConfirmationModal.havingTrouble": "Having Trouble? {tipsLink}", "emailConfirmationModal.checkOutTips": "Check out these tips", "thumbnail.by": "by", diff --git a/test/unit/components/email-confirmation-modal.test.jsx b/test/unit/components/email-confirmation-modal.test.jsx index ae6de68d3..8603ae18e 100644 --- a/test/unit/components/email-confirmation-modal.test.jsx +++ b/test/unit/components/email-confirmation-modal.test.jsx @@ -38,10 +38,10 @@ describe('Modal', () => { />, {email: testEmail, context: {store: defaultStore}} ); - const tipsLinkWrapper = component.find({id: 'registration.emailConfirmationModalHavingTrouble'}); - const tipsLink = mountWithIntl(tipsLinkWrapper.instance().props.values.TipsLink); + const tipsLinkWrapper = component.find({id: 'emailConfirmationModal.havingTrouble'}); + const tipsLink = mountWithIntl(tipsLinkWrapper.instance().props.values.tipsLink); tipsLink.simulate('click'); - expect(component.text()).toContain('emailConfirmationModalHeader2'); + expect(component.text()).toContain('emailConfirmationModal.confirmingTips'); }); test('Close button shows correctly', () => {