grafana/pkg/services/sqlstore/health_test.go
2021-09-01 17:38:56 +03:00

20 lines
322 B
Go

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