From c9f3355dcd9e52e37e9e6828e53b0cdbb58697dd Mon Sep 17 00:00:00 2001 From: Adam Sven Johnson Date: Fri, 25 Oct 2024 09:43:32 +1300 Subject: [PATCH] Name test query --- gateway_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway_test.go b/gateway_test.go index 7892247f..d931b0cc 100644 --- a/gateway_test.go +++ b/gateway_test.go @@ -57,7 +57,7 @@ func TestGatewayQuery(t *testing.T) { rec := httptest.NewRecorder() req := httptest.NewRequest(http.MethodPost, "/query", strings.NewReader(` { - "query": "query { test }" + "query": "query gatewaytest { test }" }`)) req.Header.Set("Content-Type", "application/json; charset=utf-8") req.Header.Set("Accept", "application/json; charset=utf-8")