1
0
mirror of https://github.com/beego/bee.git synced 2024-12-22 20:20:49 +00:00

Merge pull request #72 from grengojbo/master

fix bug [bee api beeApi]
This commit is contained in:
astaxie 2014-10-02 07:58:52 +08:00
commit 7905d77f05

View File

@ -519,7 +519,7 @@ func init() {
// TestGet is a sample to run an endpoint test
func TestGet(t *testing.T) {
r, _ := http.NewRequest("GET", "/object", nil)
r, _ := http.NewRequest("GET", "/v1/object", nil)
w := httptest.NewRecorder()
beego.BeeApp.Handlers.ServeHTTP(w, r)