Skip to content

Commit

Permalink
[FIX] fast_api_auth_jwt_demo: sync registry before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lmignon committed Jun 19, 2023
1 parent 6e7d2dd commit 9a67438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi_auth_jwt_demo/tests/test_fastapi_auth_jwt_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def setUpClass(cls):
super().setUpClass()
cls.env.ref(
"fastapi_auth_jwt_demo.fastapi_endpoint_auth_jwt_demo"
).action_sync_registry()
)._handle_registry_sync()

def _get_token(self, aud=None, email=None):
validator = self.env["auth.jwt.validator"].search([("name", "=", "demo")])
Expand Down

0 comments on commit 9a67438

Please sign in to comment.