Chore: Remove bus from admin (#44920)

* Chore: Remove bus from admin

* fix test

Co-authored-by: Ying WANG <ying.wang@grafana.com>
This commit is contained in:
Kat Yang
2022-02-04 17:53:58 +01:00
committed by GitHub
co-authored by Ying WANG
parent 9d654bb6b8
commit 0e6300fb49
9 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func TestStatsDataAccess(t *testing.T) {
t.Run("Get admin stats should not result in error", func(t *testing.T) {
query := models.GetAdminStatsQuery{}
err := GetAdminStats(context.Background(), &query)
err := sqlStore.GetAdminStats(context.Background(), &query)
assert.NoError(t, err)
})
}