Skip to content

Commit

Permalink
Merge pull request #90 from jbigler/main
Browse files Browse the repository at this point in the history
Fix HTML Email Controller Test
  • Loading branch information
lazaronixon authored Oct 14, 2023
2 parents d953b66 + 706e58a commit 0a1196c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class Identity::EmailsControllerTest < ActionDispatch::IntegrationTest
end


test "should not update password with wrong password challenge" do
patch password_url, params: { password_challenge: "SecretWrong1*3", password: "Secret6*4*2*", password_confirmation: "Secret6*4*2*" }
test "should not update email with wrong password challenge" do
patch identity_email_url, params: { email: "[email protected]", password_challenge: "SecretWrong1*3" }

assert_response :unprocessable_entity
assert_select "li", /Password challenge is invalid/
Expand Down

0 comments on commit 0a1196c

Please sign in to comment.