diff --git a/handler/websocket_test.go b/handler/websocket_test.go index f80a3270ad3..f8675475c94 100644 --- a/handler/websocket_test.go +++ b/handler/websocket_test.go @@ -125,7 +125,7 @@ func TestWebsocket(t *testing.T) { func TestWebsocketWithKeepAlive(t *testing.T) { next := make(chan struct{}) - h := GraphQL(&executableSchemaStub{NextResp: next}, WebsocketKeepAliveDuration(10*time.Millisecond)) + h := GraphQL(&executableSchemaStub{next}, WebsocketKeepAliveDuration(10*time.Millisecond)) srv := httptest.NewServer(h) defer srv.Close()