Scopes: Use new flag + app_mode=prod in integration tests (#97081)

Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
Carl Bergquist
2024-11-27 09:38:54 +01:00
committed by GitHub
parent be54c69fd4
commit 722af820a5
+2 -2
View File
@@ -28,9 +28,9 @@ func TestIntegrationScopes(t *testing.T) {
ctx := context.Background()
helper := apis.NewK8sTestHelper(t, testinfra.GrafanaOpts{
AppModeProduction: false, // required for experimental APIs
AppModeProduction: true,
EnableFeatureToggles: []string{
featuremgmt.FlagGrafanaAPIServerWithExperimentalAPIs, // Required to start the example service
featuremgmt.FlagScopeApi, // Required to register the API
},
})