mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06: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)
|
||
|
}
|