Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
b6fcffd6
Commit
b6fcffd6
authored
Oct 31, 2019
by
Ben Wheeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct misspelled join flow intl id
parent
0fe4eaed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/components/join-flow/email-step.jsx
src/components/join-flow/email-step.jsx
+1
-1
test/unit/components/email-step.test.jsx
test/unit/components/email-step.test.jsx
+2
-2
No files found.
src/components/join-flow/email-step.jsx
View file @
b6fcffd6
...
...
@@ -63,7 +63,7 @@ class EmailStep extends React.Component {
onCaptchaError
()
{
this
.
props
.
onRegistrationError
(
this
.
props
.
intl
.
formatMessage
({
id
:
'
registation.troubleReload
'
id
:
'
regist
r
ation.troubleReload
'
})
);
}
...
...
test/unit/components/email-step.test.jsx
View file @
b6fcffd6
...
...
@@ -151,7 +151,7 @@ describe('EmailStep test', () => {
const
formikWrapper
=
wrapper
.
dive
();
formikWrapper
.
instance
().
onCaptchaError
();
expect
(
props
.
onRegistrationError
).
toHaveBeenCalledWith
(
'
registation.troubleReload
'
);
expect
(
props
.
onRegistrationError
).
toHaveBeenCalledWith
(
'
regist
r
ation.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
(
'
regist
r
ation.troubleReload
'
);
});
test
(
'
validateEmail test email empty
'
,
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment