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
@@ -12,9 +12,9 @@ import (
)
func TestIntegration_GetAdminStats(t *testing.T) {
InitTestDB(t)
sqlStore := InitTestDB(t)
query := models.GetAdminStatsQuery{}
err := GetAdminStats(context.Background(), &query)
err := sqlStore.GetAdminStats(context.Background(), &query)
require.NoError(t, err)
}