This commit is contained in:
Oleg Dolya 2014-10-01 21:45:16 +03:00
parent 4bac7d36fc
commit d5911c9bcd
1 changed files with 1 additions and 1 deletions

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)