diff --git a/http/handlers_test.go b/http/handlers_test.go index 830260ab..b6911b0b 100644 --- a/http/handlers_test.go +++ b/http/handlers_test.go @@ -500,33 +500,6 @@ func TestHandlers(t *testing.T) { Status: http.StatusNotFound, ResponseBody: []byte(`no such index 'tix'`), }, - { - Desc: "debug doc", - Handler: debugHandler, - Path: "/ti1/a/debug", - Method: "GET", - Params: url.Values{ - "indexName": []string{"ti1"}, - "docID": []string{"a"}, - }, - Status: http.StatusOK, - ResponseMatch: map[string]bool{ - `"key"`: true, - `"val"`: true, - }, - }, - { - Desc: "debug doc invalid index", - Handler: debugHandler, - Path: "/ti1/a/debug", - Method: "GET", - Params: url.Values{ - "indexName": []string{"tix"}, - "docID": []string{"a"}, - }, - Status: http.StatusNotFound, - ResponseBody: []byte(`no such index 'tix'`), - }, { Desc: "create alias", Handler: aliasHandler,