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
@@ -23,6 +23,10 @@ func NewSQLStoreMock() *SQLStoreMock {
return &SQLStoreMock{}
}
func (m *SQLStoreMock) GetAdminStats(ctx context.Context, query *models.GetAdminStatsQuery) error {
return m.ExpectedError
}
func (m *SQLStoreMock) DeleteExpiredSnapshots(ctx context.Context, cmd *models.DeleteExpiredSnapshotsCommand) error {
return m.ExpectedError
}