mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
FeatureFlags: define features outside settings.Cfg (take 3) (#44443)
This commit is contained in:
@@ -143,6 +143,7 @@ func TestUnifiedAlertingSettings(t *testing.T) {
|
||||
t.Run(tc.desc, func(t *testing.T) {
|
||||
f := ini.Empty()
|
||||
cfg := NewCfg()
|
||||
cfg.IsFeatureToggleEnabled = func(key string) bool { return false }
|
||||
unifiedAlertingSec, err := f.NewSection("unified_alerting")
|
||||
require.NoError(t, err)
|
||||
for k, v := range tc.unifiedAlertingOptions {
|
||||
|
||||
Reference in New Issue
Block a user