Skip to content

Commit

Permalink
contrib/99designs/gqlgen: remove parentheses from mutation definition
Browse files Browse the repository at this point in the history
  • Loading branch information
darccio committed Jul 3, 2024
1 parent c9d4f4e commit 30bb534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/99designs/gqlgen/tracer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 30bb534

Please sign in to comment.