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")