1
This commit is contained in:
@@ -14,7 +14,6 @@ func Init() {
|
||||
apppath, _ := filepath.Abs(filepath.Dir(filepath.Join(file, ".."+string(filepath.Separator)+".."+string(filepath.Separator))))
|
||||
beego.TestBeegoInit(apppath)
|
||||
|
||||
globals.SugarLogger.Infof("testinit RunMode=%s", beego.BConfig.RunMode)
|
||||
beego.BConfig.RunMode = "dev" // InitBeegoBeforeTest会将runmode设置为test
|
||||
|
||||
globals.Init()
|
||||
|
||||
Reference in New Issue
Block a user