diff --git a/backend/tests/unit/api/test_oidc.py b/backend/tests/unit/api/test_oidc.py index 18e2e47857..f8164abc86 100644 --- a/backend/tests/unit/api/test_oidc.py +++ b/backend/tests/unit/api/test_oidc.py @@ -43,7 +43,7 @@ async def test_get_id_token_groups_for_oidc() -> None: async def test_get_id_token_groups_for_oidc_invalid_issuer() -> None: memory_http = MemoryHTTP() - service = InfrahubServices(http=memory_http) + service = await InfrahubServices.new(http=memory_http) client_id = "testing-oicd-1234" helper = OIDCTestHelper()