diff --git a/server/handler_test.go b/server/handler_test.go index a24373ba1..003c9d10b 100644 --- a/server/handler_test.go +++ b/server/handler_test.go @@ -641,7 +641,6 @@ func TestHandler_Endpoints(t *testing.T) { fieldName := "f-int-ubound-err" h.ServeHTTP(w, test.MustNewHTTPRequest("POST", fmt.Sprintf("/index/i0/field/%s", fieldName), strings.NewReader(`{"options":{"type":"int", "min": 10, "max": -10}}`))) - fmt.Println("body", w.Body.String()) if w.Code != gohttp.StatusBadRequest { t.Fatalf("unexpected status code: %d", w.Code) }