Skip to content

Commit

Permalink
update error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongranick-okta committed Jun 25, 2021
1 parent f1fdf9b commit 5673490
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion samples/test/features/self-service-registration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ Scenario: Mary signs up for an account with Password, sets up required Email fac
When She selects Phone from the list
And she inputs an invalid phone number
And submits the enrollment form
Then she should see an error message "Unable to initiate factor enrollment: Invalid Phone Number."
Then she should see an error message "Invalid Phone Number."
2 changes: 1 addition & 1 deletion test/spec/idx/authenticate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ describe('idx/authenticate', () => {
i18n: {
key: undefined // this error does not have an i18n key
},
message: 'Unable to initiate factor enrollment: Invalid Phone Number.'
message: 'Invalid Phone Number.'
}],
nextStep: {
name: 'authenticator-enrollment-data',
Expand Down
2 changes: 1 addition & 1 deletion test/spec/idx/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ describe('idx/register', () => {
i18n: {
key: undefined // this error does not have an i18n key
},
message: 'Unable to initiate factor enrollment: Invalid Phone Number.'
message: 'Invalid Phone Number.'
}],
nextStep: {
name: 'authenticator-enrollment-data',
Expand Down
2 changes: 1 addition & 1 deletion test/support/idx/factories/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const IdxErrorResetPasswordNotAllowedFactory = IdxErrorMessageFactory.par

export const IdxErrorEnrollmentInvalidPhoneFactory = IdxErrorMessageFactory.params({
i18n: undefined, // this error does not have an i18n key
message: 'Unable to initiate factor enrollment: Invalid Phone Number.'
message: 'Invalid Phone Number.'
});

export const IdxErrorInvalidLoginEmailFactory = IdxErrorMessageFactory.params({
Expand Down

0 comments on commit 5673490

Please sign in to comment.