mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 06:12:20 +08:00
19 lines
299 B
Go
19 lines
299 B
Go
// +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)
|
|
}
|