mirror of
https://github.com/grafana/grafana.git
synced 2025-01-18 12:33:37 -06:00
0e6300fb49
* Chore: Remove bus from admin * fix test Co-authored-by: Ying WANG <ying.wang@grafana.com>
21 lines
384 B
Go
21 lines
384 B
Go
//go:build integration
|
|
// +build integration
|
|
|
|
package sqlstore
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"github.com/grafana/grafana/pkg/models"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestIntegration_GetAdminStats(t *testing.T) {
|
|
sqlStore := InitTestDB(t)
|
|
|
|
query := models.GetAdminStatsQuery{}
|
|
err := sqlStore.GetAdminStats(context.Background(), &query)
|
|
require.NoError(t, err)
|
|
}
|