diff --git a/service/telegram/telegram_test.go b/service/telegram/telegram_test.go index ef6c73af..77bf56bc 100644 --- a/service/telegram/telegram_test.go +++ b/service/telegram/telegram_test.go @@ -194,7 +194,6 @@ func newTelegram(client *http.Client, opts *config.Options, endpoint string) (tg return tg, nil, err } store := storage.NewStorage(nil, db) - defer store.Close() cfg := []pooling.Option{ pooling.Capacity(opts.PoolingSize()),