From 6fed89478253c95b400cb55dfb8d6b7fe47fb776 Mon Sep 17 00:00:00 2001 From: Grace Noah Date: Wed, 14 Nov 2018 00:00:43 +0000 Subject: [PATCH] rebase fixes --- codegen/testserver/generated_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/codegen/testserver/generated_test.go b/codegen/testserver/generated_test.go index 42af5e4cf40..2861f5358cd 100644 --- a/codegen/testserver/generated_test.go +++ b/codegen/testserver/generated_test.go @@ -521,6 +521,12 @@ func TestTracer(t *testing.T) { }) t.Run("model methods", func(t *testing.T) { + srv := httptest.NewServer( + handler.GraphQL( + NewExecutableSchema(Config{Resolvers: &testResolver{}}), + )) + defer srv.Close() + c := client.New(srv.URL) t.Run("without context", func(t *testing.T) { var resp struct { ModelMethods struct {