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', () => {