mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 11:13:11 +08:00

* clean up and document integration test convention * clarify integration test conventions * clean up integration tests that don't follow convention * mark testIntegration* functions as helpers to avoid confusion
19 lines
334 B
Go
19 lines
334 B
Go
package dashverimpl
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/grafana/grafana/pkg/infra/db"
|
|
)
|
|
|
|
func TestIntegrationSQLxGetDashboardVersion(t *testing.T) {
|
|
if testing.Short() {
|
|
t.Skip("skipping integration test")
|
|
}
|
|
testIntegrationGetDashboardVersion(t, func(ss db.DB) store {
|
|
return &sqlxStore{
|
|
sess: ss.GetSqlxSession(),
|
|
}
|
|
})
|
|
}
|