grafana/pkg/services/sqlstore/health_test.go

21 lines
355 B
Go
Raw Normal View History

//go:build integration
// +build integration
package sqlstore
import (
"context"
"testing"
"github.com/grafana/grafana/pkg/models"
"github.com/stretchr/testify/require"
)
func TestGetDBHealthQuery(t *testing.T) {
InitTestDB(t)
query := models.GetDBHealthQuery{}
err := GetDBHealthQuery(context.Background(), &query)
require.NoError(t, err)
}