From 4bc7a35f562d88e269129dae92128f995a2b421e Mon Sep 17 00:00:00 2001 From: Matheus Macabu Date: Mon, 7 Oct 2024 11:07:48 +0200 Subject: [PATCH] UnifiedStorage: fix watcher test (#94301) --- pkg/storage/unified/apistore/watcher_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/storage/unified/apistore/watcher_test.go b/pkg/storage/unified/apistore/watcher_test.go index 203d14c0729..600e8f11af8 100644 --- a/pkg/storage/unified/apistore/watcher_test.go +++ b/pkg/storage/unified/apistore/watcher_test.go @@ -30,7 +30,6 @@ import ( storagetesting "github.com/grafana/grafana/pkg/apiserver/storage/testing" infraDB "github.com/grafana/grafana/pkg/infra/db" - "github.com/grafana/grafana/pkg/services/featuremgmt" "github.com/grafana/grafana/pkg/setting" "github.com/grafana/grafana/pkg/storage/unified/resource" "github.com/grafana/grafana/pkg/storage/unified/sql" @@ -134,9 +133,8 @@ func testSetup(t testing.TB, opts ...setupOption) (context.Context, storage.Inte } dbstore := infraDB.InitTestDB(t) cfg := setting.NewCfg() - features := featuremgmt.WithFeatures() - eDB, err := dbimpl.ProvideResourceDB(dbstore, cfg, features, nil) + eDB, err := dbimpl.ProvideResourceDB(dbstore, cfg, nil) require.NoError(t, err) require.NotNil(t, eDB)