Skip to content

Commit

Permalink
[MIG] website_recaptcha_v2: migration to 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
huguesdk committed Jan 15, 2024
1 parent 94e8846 commit d97a180
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion website_recaptcha_v2/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{
"name": "Website reCAPTCHA v2",
"version": "14.0.1.0.0",
"version": "15.0.1.0.0",
"category": "Website",
"depends": ["website"],
"author": (
Expand Down
9 changes: 5 additions & 4 deletions website_recaptcha_v2/tests/test_recaptcha.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@


class TestRecaptcha(TransactionCase):
def setUp(self):
super().setUp()
self.website = self.env.ref("website.default_website")
self.website.write(
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.website = cls.env.ref("website.default_website")
cls.website.write(
{
"recaptcha_v2_enabled": True,
"recaptcha_v2_site_key": "test-site",
Expand Down

0 comments on commit d97a180

Please sign in to comment.