From b8b792f78af4ab8e1b92c9fa8c9659e2cffd0fa7 Mon Sep 17 00:00:00 2001 From: alexandra vargas Date: Mon, 5 Jan 2026 15:53:23 +0100 Subject: [PATCH] Fix linting --- pkg/registry/apps/apps_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/registry/apps/apps_test.go b/pkg/registry/apps/apps_test.go index 737e7c8aa9a..bacffc1af29 100644 --- a/pkg/registry/apps/apps_test.go +++ b/pkg/registry/apps/apps_test.go @@ -12,6 +12,7 @@ import ( "github.com/grafana/grafana/pkg/registry/apps/alerting/rules" "github.com/grafana/grafana/pkg/registry/apps/annotation" "github.com/grafana/grafana/pkg/registry/apps/correlations" + "github.com/grafana/grafana/pkg/registry/apps/dashvalidator" "github.com/grafana/grafana/pkg/registry/apps/example" "github.com/grafana/grafana/pkg/registry/apps/playlist" "github.com/grafana/grafana/pkg/registry/apps/plugins" @@ -29,6 +30,7 @@ func TestProvideAppInstallers_Table(t *testing.T) { advisorAppInstaller := &advisor.AdvisorAppInstaller{} historianAppInstaller := &historian.AlertingHistorianAppInstaller{} quotasAppInstaller := "as.QuotasAppInstaller{} + dashvalidatorAppInstaller := &dashvalidator.DashValidatorAppInstaller{} tests := []struct { name string @@ -45,7 +47,7 @@ func TestProvideAppInstallers_Table(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { features := featuremgmt.WithFeatures(tt.flags...) - got := ProvideAppInstallers(features, playlistInstaller, pluginsInstaller, nil, tt.rulesInst, correlationsAppInstaller, notificationsAppInstaller, nil, annotationAppInstaller, exampleAppInstaller, advisorAppInstaller, historianAppInstaller, quotasAppInstaller) + got := ProvideAppInstallers(features, playlistInstaller, pluginsInstaller, nil, tt.rulesInst, correlationsAppInstaller, notificationsAppInstaller, nil, annotationAppInstaller, exampleAppInstaller, advisorAppInstaller, historianAppInstaller, quotasAppInstaller, dashvalidatorAppInstaller) if tt.expectRulesApp { require.Contains(t, got, tt.rulesInst) } else {