Skip to content

Commit

Permalink
feat: sync error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 12, 2024
1 parent 6140bbf commit 28f6d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/mfa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (ts *MFATestSuite) TestDuplicateEnrollsReturnExpectedMessage() {
require.NoError(ts.T(), err)

// Convert the response body to a string and check for the expected error message
expectedErrorMessage := fmt.Sprintf("a factor with the friendly name %q for this user already exists", friendlyName)
expectedErrorMessage := fmt.Sprintf("a factor with the friendly name %q for this user likely already exists", friendlyName)
require.Contains(ts.T(), errorResponse.Message, expectedErrorMessage)

}
Expand Down

0 comments on commit 28f6d7f

Please sign in to comment.