Close sqlite store

This commit is contained in:
bcmmbaga
2026-09-07 22:26:01 +03:00
parent 040421aa55
commit d1c002b9c4
+1 -1
View File
@@ -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()