Browse Source

disable http unit test which relied on debug functionality

Marty Schoch 1 year ago
parent
commit
00722aa299
1 changed files with 0 additions and 27 deletions
  1. 0 27
      http/handlers_test.go

+ 0 - 27
http/handlers_test.go

@@ -501,33 +501,6 @@ func TestHandlers(t *testing.T) {
 			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,
 			Path:    "/alias",