Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MINOR] - Vertx and Netty minor version bumps #7156

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ private int doRequest(final String hostname) throws IOException {
@Test
public void requestWithMalformedHostIsRejected() throws IOException {
graphQLConfig.setHostsAllowlist(hostsWhitelist);
Assertions.assertThat(doRequest("ally:friend")).isEqualTo(403);
Assertions.assertThat(doRequest("ally:123456")).isEqualTo(403);
Assertions.assertThat(doRequest("ally:friend:1234")).isEqualTo(403);
Assertions.assertThat(doRequest("ally:friend")).isEqualTo(400);
Assertions.assertThat(doRequest("ally:123456")).isEqualTo(400);
Assertions.assertThat(doRequest("ally:friend:1234")).isEqualTo(400);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ private int doRequest(final String hostname) throws IOException {
@Test
public void requestWithMalformedHostIsRejected() throws IOException {
jsonRpcConfig.setHostsAllowlist(hostsAllowlist);
assertThat(doRequest("ally:friend")).isEqualTo(403);
assertThat(doRequest("ally:123456")).isEqualTo(403);
assertThat(doRequest("ally:friend:1234")).isEqualTo(403);
assertThat(doRequest("ally:friend")).isEqualTo(400);
assertThat(doRequest("ally:123456")).isEqualTo(400);
assertThat(doRequest("ally:friend:1234")).isEqualTo(400);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ public void websocketRequestWithMalformedHostIsRejected(final String hostname) {
public void httpRequestWithMalformedHostIsRejected() throws Throwable {
webSocketConfiguration.setAuthenticationEnabled(false);
webSocketConfiguration.setHostsAllowlist(hostsAllowlist);
doHttpRequestAndVerify(testContext, "ally:friend", 403);
doHttpRequestAndVerify(testContext, "ally:123456", 403);
doHttpRequestAndVerify(testContext, "ally:friend:1234", 403);
doHttpRequestAndVerify(testContext, "ally:friend", 400);
doHttpRequestAndVerify(testContext, "ally:123456", 400);
doHttpRequestAndVerify(testContext, "ally:friend:1234", 400);
}

private void doHttpRequestAndVerify(
Expand Down
Loading
Loading