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