Chore: Rename integration tests (#49438)

* Chore: Rename integration tests

* Remove one Integration

Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com>
This commit is contained in:
Kat Yang
2022-05-24 11:04:03 +02:00
committed by GitHub
co-authored by Ida Furjesova
parent 7bcc151ae6
commit 50c2b4682a
51 changed files with 69 additions and 69 deletions
@@ -24,7 +24,7 @@ import (
"github.com/grafana/grafana/pkg/setting"
)
func TestDashboardDataAccess(t *testing.T) {
func TestIntegrationDashboardDataAccess(t *testing.T) {
var sqlStore *sqlstore.SQLStore
var savedFolder, savedDash, savedDash2 *models.Dashboard
var dashboardStore *DashboardStore
@@ -479,7 +479,7 @@ func TestDashboardDataAccess(t *testing.T) {
})
}
func TestDashboardDataAccessGivenPluginWithImportedDashboards(t *testing.T) {
func TestIntegrationDashboardDataAccessGivenPluginWithImportedDashboards(t *testing.T) {
sqlStore := sqlstore.InitTestDB(t)
dashboardStore := ProvideDashboardStore(sqlStore)
pluginId := "test-app"
@@ -498,7 +498,7 @@ func TestDashboardDataAccessGivenPluginWithImportedDashboards(t *testing.T) {
require.Equal(t, len(query.Result), 2)
}
func TestDashboard_SortingOptions(t *testing.T) {
func TestIntegrationDashboard_SortingOptions(t *testing.T) {
sqlStore := sqlstore.InitTestDB(t)
dashboardStore := ProvideDashboardStore(sqlStore)
@@ -545,7 +545,7 @@ func TestDashboard_SortingOptions(t *testing.T) {
}
func TestDashboard_Filter(t *testing.T) {
func TestIntegrationDashboard_Filter(t *testing.T) {
sqlStore := sqlstore.InitTestDB(t)
dashboardStore := ProvideDashboardStore(sqlStore)
insertTestDashboard(t, dashboardStore, "Alfa", 1, 0, false)