mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
* Usage Stats: Remove unused method for getting user stats This was used in enterprise codebase, but is not longer in use, thus can be safely removed. * Force refresh user stats in tests
19 lines
307 B
Go
19 lines
307 B
Go
// +build integration
|
|
|
|
package sqlstore
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/grafana/grafana/pkg/models"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestIntegration_GetAdminStats(t *testing.T) {
|
|
InitTestDB(t)
|
|
|
|
query := models.GetAdminStatsQuery{}
|
|
err := GetAdminStats(&query)
|
|
require.NoError(t, err)
|
|
}
|