From b6fcffd6f30ed18204d6a3dbfc92380ad76a2aa3 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Thu, 31 Oct 2019 23:21:21 -0400 Subject: [PATCH] correct misspelled join flow intl id --- src/components/join-flow/email-step.jsx | 2 +- test/unit/components/email-step.test.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/join-flow/email-step.jsx b/src/components/join-flow/email-step.jsx index fa1e27400..6d7b8bff7 100644 --- a/src/components/join-flow/email-step.jsx +++ b/src/components/join-flow/email-step.jsx @@ -63,7 +63,7 @@ class EmailStep extends React.Component { onCaptchaError () { this.props.onRegistrationError( this.props.intl.formatMessage({ - id: 'registation.troubleReload' + id: 'registration.troubleReload' }) ); } diff --git a/test/unit/components/email-step.test.jsx b/test/unit/components/email-step.test.jsx index b787802d4..9896d84f9 100644 --- a/test/unit/components/email-step.test.jsx +++ b/test/unit/components/email-step.test.jsx @@ -151,7 +151,7 @@ describe('EmailStep test', () => { const formikWrapper = wrapper.dive(); formikWrapper.instance().onCaptchaError(); - expect(props.onRegistrationError).toHaveBeenCalledWith('registation.troubleReload'); + expect(props.onRegistrationError).toHaveBeenCalledWith('registration.troubleReload'); }); test('Captcha load error calls error function', () => { @@ -167,7 +167,7 @@ describe('EmailStep test', () => { const formikWrapper = wrapper.dive(); formikWrapper.instance().onCaptchaLoad(); - expect(props.onRegistrationError).toHaveBeenCalledWith('registation.troubleReload'); + expect(props.onRegistrationError).toHaveBeenCalledWith('registration.troubleReload'); }); test('validateEmail test email empty', () => {