Add WebSocketInterceptor
See gh-162
This commit is contained in:
@@ -62,7 +62,7 @@ class WebGraphQlHandlerRequestStrategy extends DirectRequestStrategySupport impl
|
||||
}
|
||||
|
||||
private WebOutput executeInternal(WebInput webInput) {
|
||||
WebOutput webOutput = this.graphQlHandler.handle(webInput).block(getResponseTimeout());
|
||||
WebOutput webOutput = this.graphQlHandler.handleRequest(webInput).block(getResponseTimeout());
|
||||
Assert.notNull(webOutput, "Expected WebOutput");
|
||||
return webOutput;
|
||||
}
|
||||
|
||||
@@ -272,7 +272,7 @@ public class WebGraphQlTesterTests {
|
||||
}
|
||||
ExecutionResult result = builder.build();
|
||||
WebOutput output = new WebOutput(mock(WebInput.class), result);
|
||||
given(this.handler.handle(this.bodyCaptor.capture())).willReturn(Mono.just(output));
|
||||
given(this.handler.handleRequest(this.bodyCaptor.capture())).willReturn(Mono.just(output));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user