Skip to content

Commit

Permalink
[FIX] Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edescalona committed Dec 23, 2024
1 parent f6c47f2 commit 3c3c974
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions website_recaptcha_v2_form/tests/test_controller_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ def test_recaptcha_enabled_reset_password_login_signup(self):
response_reset = self.test_url_open(url="/web/reset_password", data=data)
self.assertEqual(response_reset.status_code, 200)

new_test_user(self.env, login="test_user", password="Password!1")
self.authenticate("test_user", "Password!1")
data = {
"csrf_token": http.Request.csrf_token(self),
"g-recaptcha-response": "recaptcha_invalid",
}
response_reset = self.test_url_open(url="/web/signup", data=data)
self.assertEqual(response_reset.status_code, 200)

data.update(
{
"login": "test_user",
Expand Down

0 comments on commit 3c3c974

Please sign in to comment.