mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
dashboards: simplified code.
This commit is contained in:
parent
b82b94a247
commit
fc0461134f
@ -972,12 +972,9 @@ func postDashboardScenario(desc string, url string, routePattern string, mock *d
|
||||
Convey(desc+" "+url, func() {
|
||||
defer bus.ClearBusHandlers()
|
||||
|
||||
cfg := setting.NewCfg()
|
||||
cfg.EditorsCanAdmin = false
|
||||
|
||||
hs := HTTPServer{
|
||||
Bus: bus.GetBus(),
|
||||
Cfg: cfg,
|
||||
Cfg: setting.NewCfg(),
|
||||
}
|
||||
|
||||
sc := setupScenarioContext(url)
|
||||
|
Loading…
Reference in New Issue
Block a user