From d5911c9bcd4ffff55085211d03da202b4706ce9d Mon Sep 17 00:00:00 2001 From: Oleg Dolya Date: Wed, 1 Oct 2014 21:45:16 +0300 Subject: [PATCH] fix bug --- apiapp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiapp.go b/apiapp.go index f016045..24e94d3 100644 --- a/apiapp.go +++ b/apiapp.go @@ -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)