From 071495380a54a4f4ec58143ce92d7e17943e4b03 Mon Sep 17 00:00:00 2001 From: Maicon Costa Date: Wed, 23 Jul 2025 01:35:11 -0300 Subject: [PATCH] Pass the right value for kubernetesDashboardsEnabled flag Signed-off-by: Maicon Costa --- pkg/tests/apis/dashboard/integration/api_validation_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/tests/apis/dashboard/integration/api_validation_test.go b/pkg/tests/apis/dashboard/integration/api_validation_test.go index 3bc60cbb4b8..3114bf2a1cb 100644 --- a/pkg/tests/apis/dashboard/integration/api_validation_test.go +++ b/pkg/tests/apis/dashboard/integration/api_validation_test.go @@ -163,7 +163,7 @@ func TestIntegrationDashboardAPIAuthorization(t *testing.T) { }) t.Run("Dashboard permission tests", func(t *testing.T) { - runDashboardPermissionTests(t, org1Ctx, true) + runDashboardPermissionTests(t, org1Ctx, false) }) t.Run("Cross-organization tests", func(t *testing.T) { @@ -193,6 +193,7 @@ func TestIntegrationDashboardAPI(t *testing.T) { EnableFeatureToggles: []string{ featuremgmt.FlagKubernetesClientDashboardsFolders, // Enable dashboard feature featuremgmt.FlagUnifiedStorageSearch, + featuremgmt.FlagKubernetesDashboards, }, UnifiedStorageConfig: map[string]setting.UnifiedStorageConfig{ "dashboards.dashboard.grafana.app": {