team: renames teams.CanUpdate teamguardian.CanAdmin

This commit is contained in:
Leonard Gram
2019-03-12 13:59:53 +01:00
parent 96aa4ae19f
commit b783fa7039
7 changed files with 26 additions and 21 deletions

View File

@ -142,12 +142,9 @@ func createFolderScenario(desc string, url string, routePattern string, mock *fa
Convey(desc+" "+url, func() {
defer bus.ClearBusHandlers()
cfg := setting.NewCfg()
cfg.EditorsCanAdmin = true
hs := HTTPServer{
Bus: bus.GetBus(),
Cfg: cfg,
Cfg: setting.NewCfg(),
}
sc := setupScenarioContext(url)