@@ -123,14 +123,14 @@ var enumTypeTestSchema, _ = graphql.NewSchema(graphql.SchemaConfig{
123
123
124
124
func executeEnumTypeTest (t * testing.T , query string ) * graphql.Result {
125
125
result := g (t , graphql.Params {
126
- Schema : enumTypeTestSchema ,
126
+ Schema : * enumTypeTestSchema ,
127
127
RequestString : query ,
128
128
})
129
129
return result
130
130
}
131
131
func executeEnumTypeTestWithParams (t * testing.T , query string , params map [string ]interface {}) * graphql.Result {
132
132
result := g (t , graphql.Params {
133
- Schema : enumTypeTestSchema ,
133
+ Schema : * enumTypeTestSchema ,
134
134
RequestString : query ,
135
135
VariableValues : params ,
136
136
})
@@ -414,7 +414,7 @@ func TestTypeSystem_EnumValues_EnumValueMayBePointer(t *testing.T) {
414
414
"color" : "GREEN" ,
415
415
"foo" : 1 }}}
416
416
result := g (t , graphql.Params {
417
- Schema : enumTypeTestSchema ,
417
+ Schema : * enumTypeTestSchema ,
418
418
RequestString : query ,
419
419
})
420
420
if ! reflect .DeepEqual (expected , result ) {
@@ -453,7 +453,7 @@ func TestTypeSystem_EnumValues_EnumValueMayBeNilPointer(t *testing.T) {
453
453
}},
454
454
}
455
455
result := g (t , graphql.Params {
456
- Schema : enumTypeTestSchema ,
456
+ Schema : * enumTypeTestSchema ,
457
457
RequestString : query ,
458
458
})
459
459
if ! reflect .DeepEqual (expected , result ) {
0 commit comments