From 30bb534734fd44ba2904dd1886d79cac5a2da949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dario=20Casta=C3=B1=C3=A9?= Date: Wed, 3 Jul 2024 12:14:23 +0200 Subject: [PATCH] contrib/99designs/gqlgen: remove parentheses from mutation definition --- contrib/99designs/gqlgen/tracer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/99designs/gqlgen/tracer_test.go b/contrib/99designs/gqlgen/tracer_test.go index 187b8e9ee6..0517aef976 100644 --- a/contrib/99designs/gqlgen/tracer_test.go +++ b/contrib/99designs/gqlgen/tracer_test.go @@ -216,7 +216,7 @@ func TestNamingSchema(t *testing.T) { err := c.Post(`{ name }`, &testServerResponse{}) require.NoError(t, err) - err = c.Post(`mutation Name() { name }`, &testServerResponse{}) + err = c.Post(`mutation Name { name }`, &testServerResponse{}) assert.ErrorContains(t, err, "mutations are not supported") return mt.FinishedSpans()