Skip to content

Commit

Permalink
[REM] Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edescalona committed Dec 24, 2024
1 parent f8ed613 commit b74c5d7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions website_recaptcha_v2_form/tests/test_controller_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,3 @@ def test_recaptcha_enabled_reset_password_login_signup(self, requests_mock):
)
response = self.test_url_open(url="/web/login", data=data)
self.assertEqual(response.status_code, 200)

free_sign_up = self.env["ir.config_parameter"].get_param(
"auth_signup.invitation_scope"
)
if free_sign_up == "b2b":
response_signup = self.test_url_open(url="/web/signup", data=data)
self.assertEqual(response_signup.status_code, 404)

0 comments on commit b74c5d7

Please sign in to comment.