2abda095 by astaxie

fix #277

1 parent dbf6ca2b
package testing
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/config"
"github.com/astaxie/beego/httplib"
)
......@@ -14,7 +14,7 @@ type TestHttpRequest struct {
func getPort() string {
if port == "" {
config, err := beego.ParseConfig("../conf/app.conf")
config, err := config.NewConfig("ini", "../conf/app.conf")
if err != nil {
return "8080"
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!