mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 16:43:07 +08:00
Chore: Remove bus from contexthandler (#47458)
* Chore: remove bus from contexthandler * remove bus from orgredirect
This commit is contained in:
@ -73,7 +73,7 @@ func recoveryScenario(t *testing.T, desc string, url string, fn scenarioFunc) {
|
||||
contextHandler := getContextHandler(t, nil, nil, nil)
|
||||
sc.m.Use(contextHandler.Middleware)
|
||||
// mock out gc goroutine
|
||||
sc.m.Use(OrgRedirect(cfg))
|
||||
sc.m.Use(OrgRedirect(cfg, sc.mockSQLStore))
|
||||
|
||||
sc.defaultHandler = func(c *models.ReqContext) {
|
||||
sc.context = c
|
||||
|
Reference in New Issue
Block a user