From f8e5ada1ee2765f6ac572510656e6054d62b8b47 Mon Sep 17 00:00:00 2001 From: Daniel Krol Date: Wed, 29 Jun 2022 11:15:00 -0400 Subject: [PATCH] Comment --- server/integration_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/integration_test.go b/server/integration_test.go index d08518a..858a6d1 100644 --- a/server/integration_test.go +++ b/server/integration_test.go @@ -66,6 +66,8 @@ func checkStatusCode(t *testing.T, statusCode int, responseBody []byte, expected } } +// TODO - make this a real request some day. For now it still passes in the +// handler. Probably close enough for now. func request(t *testing.T, method string, handler func(http.ResponseWriter, *http.Request), path string, jsonResult interface{}, requestBody string) ([]byte, int) { req := httptest.NewRequest( method,