File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,11 @@ func TestRenderPlayground(t *testing.T) {
62
62
req .Header .Set ("Accept" , tc .accept )
63
63
64
64
h := handler .New (& handler.Config {
65
- Schema : & testutil .StarWarsSchema ,
66
- GraphiQL : false ,
67
- Playground : tc .playgroundEnabled ,
65
+ Schema : & testutil .StarWarsSchema ,
66
+ GraphiQL : false ,
67
+ Playground : & handler.PlaygroundConfig {
68
+ Enabled : tc .playgroundEnabled ,
69
+ },
68
70
})
69
71
70
72
rr := httptest .NewRecorder ()
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ func TestHandler_BasicQuery_WithFormatErrorFn(t *testing.T) {
245
245
customFormattedError := gqlerrors.FormattedError {
246
246
Message : resolverError .Error (),
247
247
Locations : []location.SourceLocation {
248
- location. SourceLocation {
248
+ {
249
249
Line : 1 ,
250
250
Column : 2 ,
251
251
},
You can’t perform that action at this time.
0 commit comments