This commit is contained in:
astaxie 2013-11-06 16:51:33 +08:00
parent dbf6ca2b4c
commit 2abda0954b
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
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"
}