mirror of https://github.com/grafana/grafana.git
				
				
				
			
		
			
				
	
	
		
			21 lines
		
	
	
		
			401 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			401 B
		
	
	
	
		
			Go
		
	
	
	
package sqlstore
 | 
						|
 | 
						|
import (
 | 
						|
	"context"
 | 
						|
	"testing"
 | 
						|
 | 
						|
	"github.com/grafana/grafana/pkg/models"
 | 
						|
	"github.com/stretchr/testify/require"
 | 
						|
)
 | 
						|
 | 
						|
func TestIntegration_GetAdminStats(t *testing.T) {
 | 
						|
	if testing.Short() {
 | 
						|
		t.Skip("skipping integration test")
 | 
						|
	}
 | 
						|
	sqlStore := InitTestDB(t)
 | 
						|
 | 
						|
	query := models.GetAdminStatsQuery{}
 | 
						|
	err := sqlStore.GetAdminStats(context.Background(), &query)
 | 
						|
	require.NoError(t, err)
 | 
						|
}
 |