mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 15:17:53 -05:00
correct misspelled join flow intl id
This commit is contained in:
parent
0fe4eaed03
commit
b6fcffd6f3
2 changed files with 3 additions and 3 deletions
|
@ -63,7 +63,7 @@ class EmailStep extends React.Component {
|
|||
onCaptchaError () {
|
||||
this.props.onRegistrationError(
|
||||
this.props.intl.formatMessage({
|
||||
id: 'registation.troubleReload'
|
||||
id: 'registration.troubleReload'
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in a new issue