From d1c002b9c453f44d3220103c20ec175743ba4282 Mon Sep 17 00:00:00 2001 From: bcmmbaga Date: Mon, 7 Sep 2026 22:26:01 +0300 Subject: [PATCH] Close sqlite store --- idp/dex/provider_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idp/dex/provider_test.go b/idp/dex/provider_test.go index a4edf4cd4..b1749a45f 100644 --- a/idp/dex/provider_test.go +++ b/idp/dex/provider_test.go @@ -766,7 +766,7 @@ func TestNewProvider_SetsGrantTypes(t *testing.T) { DataDir: t.TempDir(), }) require.NoError(t, err) - defer func() { _ = provider.Stop(ctx) }() + defer func() { _ = provider.storage.Close() }() req := httptest.NewRequest(http.MethodGet, "/oauth2/.well-known/openid-configuration", nil) rec := httptest.NewRecorder()