mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 10:50:37 -06:00
9ea6a43089
* 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
20 lines
348 B
Go
20 lines
348 B
Go
package dashverimpl
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/grafana/grafana/pkg/infra/db"
|
|
)
|
|
|
|
func TestIntegrationXORMGetDashboardVersion(t *testing.T) {
|
|
if testing.Short() {
|
|
t.Skip("skipping integration test")
|
|
}
|
|
testIntegrationGetDashboardVersion(t, func(ss db.DB) store {
|
|
return &sqlStore{
|
|
db: ss,
|
|
dialect: ss.GetDialect(),
|
|
}
|
|
})
|
|
}
|