diff --git a/website_recaptcha_v2_form/tests/test_controller_form.py b/website_recaptcha_v2_form/tests/test_controller_form.py index 8745b2aa23..ab6070fc33 100644 --- a/website_recaptcha_v2_form/tests/test_controller_form.py +++ b/website_recaptcha_v2_form/tests/test_controller_form.py @@ -40,11 +40,18 @@ def test_recaptcha_enabled_reset_password_login_signup(self): "csrf_token": http.Request.csrf_token(self), "g-recaptcha-response": "recaptcha_invalid", } - response = self.test_url_open(url="/web/login", data=data) - self.assertEqual(response.status_code, 200) response_reset = self.test_url_open(url="/web/reset_password", data=data) self.assertEqual(response_reset.status_code, 200) response_signup = self.test_url_open(url="/web/signup", data=data) self.assertEqual(response_signup.status_code, 200) + + data.update( + { + "login": "test_user", + "password": "Password!1", + } + ) + response = self.test_url_open(url="/web/login", data=data) + self.assertEqual(response.status_code, 200)