Actionsets: Add cfg option for only writing actionsets (#88367)

* test

* test

* missed test

* fix review comments
This commit is contained in:
Eric Leijonmarck
2024-05-28 16:32:23 +01:00
committed by GitHub
parent 5f326e98c1
commit 910553df20
12 changed files with 48 additions and 34 deletions
@@ -675,7 +675,7 @@ func TestIntegrationPrometheusRulesPermissions(t *testing.T) {
apiClient := newAlertingApiClient(grafanaListedAddr, "grafana", "password")
// access control permissions store
permissionsStore := resourcepermissions.NewStore(env.SQLStore, featuremgmt.WithFeatures())
permissionsStore := resourcepermissions.NewStore(env.Cfg, env.SQLStore, featuremgmt.WithFeatures())
// Create the namespace we'll save our alerts to.
apiClient.CreateFolder(t, "folder1", "folder1")