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
e367950a
Unverified
Commit
e367950a
authored
Nov 04, 2019
by
Benjamin Wheeler
Committed by
GitHub
Nov 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3496 from benjiwheeler/join-flow-correct-intl-id
correct misspelled join flow intl id
parents
4c8fdbe9
b6fcffd6
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 @
e367950a
...
...
@@ -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 @
e367950a
...
...
@@ -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