mirror of
https://github.com/grafana/grafana.git
synced 2025-07-28 20:32:51 +08:00
Auth: Revert "Auth: Cache Auth Info" (#81013)
Revert "Auth: Cache Auth Info"
This commit is contained in:
@ -18,7 +18,6 @@ import (
|
||||
"github.com/grafana/grafana/pkg/components/simplejson"
|
||||
"github.com/grafana/grafana/pkg/infra/db"
|
||||
"github.com/grafana/grafana/pkg/infra/db/dbtest"
|
||||
"github.com/grafana/grafana/pkg/infra/remotecache"
|
||||
"github.com/grafana/grafana/pkg/login/social"
|
||||
"github.com/grafana/grafana/pkg/login/social/socialtest"
|
||||
"github.com/grafana/grafana/pkg/services/accesscontrol/acimpl"
|
||||
@ -65,7 +64,8 @@ func TestUserAPIEndpoint_userLoggedIn(t *testing.T) {
|
||||
secretsService := secretsManager.SetupTestService(t, database.ProvideSecretsStore(sqlStore))
|
||||
authInfoStore := authinfoimpl.ProvideStore(sqlStore, secretsService)
|
||||
srv := authinfoimpl.ProvideService(
|
||||
authInfoStore, remotecache.NewFakeCacheStorage(), secretsService)
|
||||
authInfoStore,
|
||||
)
|
||||
hs.authInfoService = srv
|
||||
orgSvc, err := orgimpl.ProvideService(sqlStore, sqlStore.Cfg, quotatest.New(false, nil))
|
||||
require.NoError(t, err)
|
||||
|
Reference in New Issue
Block a user