Commit fc046113 by Leonard Gram

dashboards: simplified code.

parent b82b94a2
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment