Browse Source

fix bug

pull/72/head
Oleg Dolya 7 years ago
parent
commit
d5911c9bcd
  1. 2
      apiapp.go

2
apiapp.go

@ -519,7 +519,7 @@ func init() { @@ -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)

Loading…
Cancel
Save