Skip to content

Commit

Permalink
[#559] Fixed tests after frontend change of password-change-form
Browse files Browse the repository at this point in the history
  • Loading branch information
vaszig committed May 16, 2022
1 parent 2695227 commit 12ac9f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/open_inwoner/accounts/tests/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ def test_users_deactivation_is_logged(self):

def test_password_change_is_logged(self):
user = UserFactory(password="test")
form = self.app.get(reverse("password_change"), user=user).forms[0]
form = self.app.get(reverse("password_change"), user=user).forms[
"password-change-form"
]
form["old_password"] = "test"
form["new_password1"] = "newPassw0rd"
form["new_password2"] = "newPassw0rd"
Expand Down

0 comments on commit 12ac9f4

Please sign in to comment.