(t *testing.T)
| 841 | ` |
| 842 | |
| 843 | func TestSchemaValidationError(t *testing.T) { |
| 844 | _, err := dql.Parse(dql.Request{Str: m5}) |
| 845 | require.Error(t, err) |
| 846 | output, err := runGraphqlQuery(strings.Replace(q5, "<id>", "0x8", -1)) |
| 847 | require.NoError(t, err) |
| 848 | require.JSONEq(t, `{"data": {"user": []}}`, output) |
| 849 | } |
| 850 | |
| 851 | func TestMutationError(t *testing.T) { |
| 852 | var qErr = ` |
nothing calls this directly
no test coverage detected