DashboardStore: Provide an interface directly rather than pointer receiver (#63910)

This commit is contained in:
Ryan McKinley
2023-03-01 07:52:16 -08:00
committed by GitHub
parent a91e0a49c9
commit 22aa09d392
12 changed files with 60 additions and 63 deletions

View File

@@ -743,7 +743,7 @@ func createFolderWithACL(t *testing.T, sqlStore db.DB, title string, user *user.
return folder
}
func updateFolderACL(t *testing.T, dashboardStore *database.DashboardStore, folderID int64, items []folderACLItem) {
func updateFolderACL(t *testing.T, dashboardStore dashboards.Store, folderID int64, items []folderACLItem) {
t.Helper()
if len(items) == 0 {