mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
c9f25cf0a5
Signed-off-by: bergquist <carl.bergquist@gmail.com>
21 lines
355 B
Go
21 lines
355 B
Go
//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)
|
|
}
|