First endpoint: Ping

This commit is contained in:
Deluan
2016-02-24 00:07:57 -05:00
parent 5d6fd4ee6b
commit b9e9d38a9a
5 changed files with 60 additions and 15 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func init() {
}
// TestGet is a sample to run an endpoint test
func TestGet(t *testing.T) {
func xTestGet(t *testing.T) {
r, _ := http.NewRequest("GET", "/v1/object", nil)
w := httptest.NewRecorder()
beego.BeeApp.Handlers.ServeHTTP(w, r)