Skip to content

Commit 2bbe633

Browse files
committed
fixup! [MIG] endpoint_auth_api_key: Migration to 19.0
1 parent 39f133f commit 2bbe633

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

endpoint_auth_api_key/tests/common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import contextlib
44

55
from odoo import Command
6-
from odoo.tests import tagged
76
from odoo.tools import DotDict
87

98
from odoo.addons.base.tests.common import TransactionCaseWithUserDemo
@@ -57,7 +56,6 @@ def _setup_demo_endpoint(env, api_key_group):
5756
)
5857

5958

60-
@tagged("-at_install", "post_install")
6159
class CommonEndpointAuthAPIKey(TransactionCaseWithUserDemo):
6260
@classmethod
6361
def setUpClass(cls):

endpoint_auth_api_key/tests/test_endpoint.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212

1313
class TestEndpoint(CommonEndpointAuthAPIKey):
14+
@classmethod
15+
def _setup_records(cls):
16+
return super()._setup_records()
17+
1418
@mute_logger("endpoint.endpoint")
1519
def test_endpoint_validate_request_no_key(self):
1620
endpoint = self.endpoint.copy(

0 commit comments

Comments
 (0)