mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 10:18:29 +08:00
@ -15,6 +15,7 @@ import (
|
||||
"github.com/grafana/grafana/pkg/infra/tracing"
|
||||
"github.com/grafana/grafana/pkg/plugins"
|
||||
"github.com/grafana/grafana/pkg/services/accesscontrol/acimpl"
|
||||
"github.com/grafana/grafana/pkg/services/authn"
|
||||
contextmodel "github.com/grafana/grafana/pkg/services/contexthandler/model"
|
||||
"github.com/grafana/grafana/pkg/services/featuremgmt"
|
||||
"github.com/grafana/grafana/pkg/services/org"
|
||||
@ -77,7 +78,7 @@ func TestPluginProxy(t *testing.T) {
|
||||
&contextmodel.ReqContext{
|
||||
SignedInUser: &user.SignedInUser{
|
||||
Login: "test_user",
|
||||
NamespacedID: "user:1",
|
||||
NamespacedID: authn.MustParseNamespaceID("user:1"),
|
||||
},
|
||||
Context: &web.Context{
|
||||
Req: httpReq,
|
||||
|
Reference in New Issue
Block a user