mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06: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
18 lines
389 B
Go
18 lines
389 B
Go
package apikeyimpl
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/grafana/grafana/pkg/infra/db"
|
|
"github.com/grafana/grafana/pkg/setting"
|
|
)
|
|
|
|
func TestIntegrationSQLxApiKeyDataAccess(t *testing.T) {
|
|
if testing.Short() {
|
|
t.Skip("skipping integration test")
|
|
}
|
|
testIntegrationApiKeyDataAccess(t, func(ss db.DB, cfg *setting.Cfg) store {
|
|
return &sqlxStore{sess: ss.GetSqlxSession(), cfg: cfg}
|
|
})
|
|
}
|