diff --git a/codegen/testserver/ptr_to_slice_test.go b/codegen/testserver/ptr_to_slice_test.go index 8119748582..2fe498feb8 100644 --- a/codegen/testserver/ptr_to_slice_test.go +++ b/codegen/testserver/ptr_to_slice_test.go @@ -14,7 +14,6 @@ func TestPtrToSlice(t *testing.T) { c := client.New(handler.NewDefaultServer(NewExecutableSchema(Config{Resolvers: resolvers}))) - resolvers.QueryResolver.PtrToSliceContainer = func(ctx context.Context) (wrappedStruct *PtrToSliceContainer, e error) { ptrToSliceContainer := PtrToSliceContainer{ PtrToSlice: &[]string{"hello"}, @@ -22,7 +21,6 @@ func TestPtrToSlice(t *testing.T) { return &ptrToSliceContainer, nil } - t.Run("pointer to slice", func(t *testing.T) { var resp struct { PtrToSliceContainer struct {