Chore: Remove x from health, alert notification, dashboard, stats, user (#45265)

* Chore: Remove x from health

* Chore: Remove x from dashboard and user

* Chore: Remove x from alert notification

* Chore: Remove x from stats

* Fix: Update func signature in stats test

* Refactor: Remove x from GetDashboardTags

* Chore: Remove x from dashboard

* Chore: Remove x from Stats

* Fix: Update refs of HasAdminPermissionInFolders

* Fix: Adjust funcs in tests to be sqlStore methods

* Fix: Fix database folder test sqlstore methods
This commit is contained in:
Kat Yang
2022-02-17 16:59:09 +01:00
committed by GitHub
parent c8bb01d1ad
commit d3ae8939af
12 changed files with 264 additions and 237 deletions
@@ -421,7 +421,7 @@ func TestDashboardDataAccessGivenPluginWithImportedDashboards(t *testing.T) {
OrgId: 1,
}
err := sqlstore.GetDashboardsByPluginId(context.Background(), &query)
err := sqlStore.GetDashboardsByPluginId(context.Background(), &query)
require.NoError(t, err)
require.Equal(t, len(query.Result), 2)
}