Auth: Always include oauth and saml settings for frontend (#58705)

* Auth: Always include oauth and saml settings
This commit is contained in:
Karl Persson
2022-11-15 10:50:37 +01:00
committed by GitHub
parent d999b5bda0
commit 98dbc637cc
3 changed files with 16 additions and 13 deletions

View File

@@ -7,6 +7,7 @@ import (
"path/filepath"
"testing"
"github.com/grafana/grafana/pkg/login/social"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
@@ -57,6 +58,7 @@ func setupTestEnvironment(t *testing.T, cfg *setting.Cfg, features *featuremgmt.
grafanaUpdateChecker: &updatechecker.GrafanaService{},
AccessControl: accesscontrolmock.New().WithDisabled(),
PluginSettings: pluginSettings.ProvideService(sqlStore, secretsService),
SocialService: social.ProvideService(cfg),
}
m := web.New()