0
0
Fork 0

disable http unit test which relied on debug functionality

This commit is contained in:
Marty Schoch 2017-12-11 15:38:44 -05:00
parent d7eb223e14
commit 00722aa299
1 changed files with 0 additions and 27 deletions

View File

@ -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,