From f67c87607b82ca70278712bd3c64f199a576a2ca Mon Sep 17 00:00:00 2001 From: Patrick Ogenstad Date: Sun, 2 Feb 2025 19:21:58 +0100 Subject: [PATCH] Fix service init in test --- backend/tests/unit/api/test_oidc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()