File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 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) {
6262 req .Header .Set ("Accept" , tc .accept )
6363
6464 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+ },
6870 })
6971
7072 rr := httptest .NewRecorder ()
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ func TestHandler_BasicQuery_WithFormatErrorFn(t *testing.T) {
245245 customFormattedError := gqlerrors.FormattedError {
246246 Message : resolverError .Error (),
247247 Locations : []location.SourceLocation {
248- location. SourceLocation {
248+ {
249249 Line : 1 ,
250250 Column : 2 ,
251251 },
You can’t perform that action at this time.
0 commit comments